Index: src/wasm/wasm-macro-gen.h |
diff --git a/src/wasm/wasm-macro-gen.h b/src/wasm/wasm-macro-gen.h |
index d08d7095f6a698bdd50592a49e626a717bde4cec..23b9d5c5a3988dd6334aea927cdd56678db203c8 100644 |
--- a/src/wasm/wasm-macro-gen.h |
+++ b/src/wasm/wasm-macro-gen.h |
@@ -579,6 +579,13 @@ class LocalDeclEncoder { |
#define WASM_I32_REINTERPRET_F32(x) x, kExprI32ReinterpretF32 |
#define WASM_I64_REINTERPRET_F64(x) x, kExprI64ReinterpretF64 |
+//------------------------------------------------------------------------------ |
+// Simd Operations. |
+//------------------------------------------------------------------------------ |
+#define WASM_SIMD_I32x4_SPLAT(x) x, kSimdPrefix, kExprI32x4Splat & 0xff |
+#define WASM_SIMD_I32x4_EXTRACT_LANE(x, y) \ |
+ x, y, kSimdPrefix, kExprI32x4ExtractLane & 0xff |
+ |
#define SIG_ENTRY_v_v kWasmFunctionTypeForm, 0, 0 |
#define SIZEOF_SIG_ENTRY_v_v 3 |