From daa442b40f92ee5117c9c7c391171c3304abc67e Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Mon, 3 Aug 2020 13:48:10 -0700 Subject: Implement prototype v128.load{32,64}_zero instructions (#3011) Specified in https://github.com/WebAssembly/simd/pull/237. Since these are just prototypes necessary for benchmarking, this PR does not add support for these instructions to the fuzzer or the C or JS APIs. This PR also renumbers the QFMA instructions that previously used the opcodes for these new instructions. The renumbering matches the renumbering in V8 and LLVM. --- src/wasm-binary.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/wasm-binary.h') diff --git a/src/wasm-binary.h b/src/wasm-binary.h index db93c86de..ba3b4038a 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -833,12 +833,12 @@ enum ASTNodes { I32x4ShrU = 0xad, I32x4Add = 0xae, I32x4Sub = 0xb1, - I32x4DotSVecI16x8 = 0xb4, I32x4Mul = 0xb5, I32x4MinS = 0xb6, I32x4MinU = 0xb7, I32x4MaxS = 0xb8, I32x4MaxU = 0xb9, + I32x4DotSVecI16x8 = 0xba, I64x2Neg = 0xc1, I64x2AnyTrue = 0xc2, @@ -888,8 +888,11 @@ enum ASTNodes { F32x4ConvertSI32x4 = 0xfa, F32x4ConvertUI32x4 = 0xfb, - F32x4QFMA = 0xfc, - F32x4QFMS = 0xfd, + V128Load32Zero = 0xfc, + V128Load64Zero = 0xfd, + + F32x4QFMA = 0xb4, + F32x4QFMS = 0xd4, F64x2QFMA = 0xfe, F64x2QFMS = 0xff, -- cgit v1.2.3