From 094deb0b1d1def452cb784191004a5e2001c6a99 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Thu, 7 Apr 2022 08:49:52 -0700 Subject: Implement i16x8.relaxed_q15mulr_s (#4583) As proposed in https://github.com/WebAssembly/relaxed-simd/issues/40. --- src/wasm/wasm-validator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wasm/wasm-validator.cpp') diff --git a/src/wasm/wasm-validator.cpp b/src/wasm/wasm-validator.cpp index 8d35543fc..1494fa400 100644 --- a/src/wasm/wasm-validator.cpp +++ b/src/wasm/wasm-validator.cpp @@ -1634,7 +1634,8 @@ void FunctionValidator::visitBinary(Binary* curr) { case NarrowSVecI32x4ToVecI16x8: case NarrowUVecI32x4ToVecI16x8: case SwizzleVec8x16: - case RelaxedSwizzleVec8x16: { + case RelaxedSwizzleVec8x16: + case RelaxedQ15MulrSVecI16x8: { shouldBeEqualOrFirstIsUnreachable( curr->left->type, Type(Type::v128), curr, "v128 op"); shouldBeEqualOrFirstIsUnreachable( -- cgit v1.2.3