aboutsummaryrefslogtreecommitdiff
path: root/tools/translate_xmacro.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/translate_xmacro.h')
-rw-r--r--tools/translate_xmacro.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/translate_xmacro.h b/tools/translate_xmacro.h
index 958d8d9..079fc74 100644
--- a/tools/translate_xmacro.h
+++ b/tools/translate_xmacro.h
@@ -5,6 +5,11 @@ TS (WASM_I32_ADD, add, i32_i32, i32)
TS (WASM_I32_SUB, sub, i32_i32, i32)
TS (WASM_I32_DIV_U, div, i32_i32, i32)
TS (WASM_I32_MUL, mul, i32_i32, i32)
+TS (WASM_I32_EQ, eq, i32_i32, i32)
+TS (WASM_I32_LT_S, lt, i32_i32, i32)
+TS (WASM_I32_LT_U, ult, i32_i32, i32)
+TS (WASM_I32_GT_S, gt, i32_i32, i32)
+TS (WASM_I32_GT_U, ugt, i32_i32, i32)
TLS(WASM_I32_LOAD, load_p, i32, i32)
TLS(WASM_I32_LOAD8_S, loadbsx_p, i32, i32)
@@ -19,9 +24,11 @@ TLS(WASM_I32_STORE16, storew_p, i32_i32, empty)
* There are more checks to be performed in case of if and br_if, but we do them
* another way and only check for the i32 condition value here.
*/
+TC (WASM_LOOP, loop, custom, custom)
TC (WASM_IF, if, i32, custom)
TC (WASM_BR, br, custom, custom)
TC (WASM_BR_IF, br_if, i32, custom)
TC (WASM_CALL, call, custom, custom)
TC (WASM_LOCAL_GET, local_get, empty, custom)
+TC (WASM_LOCAL_SET, local_set, custom, empty)
TC (WASM_I32_CONST, const, empty, i32)