Index: src/wasm/wasm-macro-gen.h |
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h |
index 83ac86a564c7fc82fdc20609f75f931aa94d8bbf..bcb6164dfa8b4aba50f424c0cf9206c11aca2868 100644 |
--- a/src/wasm/wasm-macro-gen.h |
+++ b/src/wasm/wasm-macro-gen.h |
@@ -570,6 +570,12 @@ class LocalDeclEncoder { |
#define WASM_I32_REINTERPRET_F32(x) x, kExprI32ReinterpretF32 |
#define WASM_I64_REINTERPRET_F64(x) x, kExprI64ReinterpretF64 |
+//------------------------------------------------------------------------------ |
+// Type conversions. |
+//------------------------------------------------------------------------------ |
+#define WASM_SIMD_I32x4_SPLAT(x) kExprI32x4S128Splat, x |
+#define WASM_SIMD_I32x4_EXTRACT_LANE(x, y) kExprI32x4S128ExtractLane, x, y |
+ |
#define SIG_ENTRY_v_v kWasmFunctionTypeForm, 0, 0 |
#define SIZEOF_SIG_ENTRY_v_v 3 |