summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-validator.cpp
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2022-04-07 08:49:52 -0700
committerGitHub <noreply@github.com>2022-04-07 08:49:52 -0700
commit094deb0b1d1def452cb784191004a5e2001c6a99 (patch)
treeb867b5883f708dd57b89b1e92086172490e8f0b5 /src/wasm/wasm-validator.cpp
parentfb2754fec942e49fcd2e3ec30f9aac5825a2c758 (diff)
downloadbinaryen-094deb0b1d1def452cb784191004a5e2001c6a99.tar.gz
binaryen-094deb0b1d1def452cb784191004a5e2001c6a99.tar.bz2
binaryen-094deb0b1d1def452cb784191004a5e2001c6a99.zip
Implement i16x8.relaxed_q15mulr_s (#4583)
As proposed in https://github.com/WebAssembly/relaxed-simd/issues/40.
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
-rw-r--r--src/wasm/wasm-validator.cpp3
1 files changed, 2 insertions, 1 deletions
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(