summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-validator.cpp
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2019-12-18 15:28:41 -0800
committerGitHub <noreply@github.com>2019-12-18 15:28:41 -0800
commit8b15ceea0fdcde214965aea337e887af5129ad88 (patch)
tree1a384ca739c9badf437ec96eb04b392f7510a055 /src/wasm/wasm-validator.cpp
parent323e475a3ab57fe4ffd0b5826af5f6cbf0061265 (diff)
downloadbinaryen-8b15ceea0fdcde214965aea337e887af5129ad88.tar.gz
binaryen-8b15ceea0fdcde214965aea337e887af5129ad88.tar.bz2
binaryen-8b15ceea0fdcde214965aea337e887af5129ad88.zip
SIMD {i8x16,i16x8}.avgr_u instructions (#2539)
As specified in https://github.com/WebAssembly/simd/pull/126.
Diffstat (limited to 'src/wasm/wasm-validator.cpp')
-rw-r--r--src/wasm/wasm-validator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wasm/wasm-validator.cpp b/src/wasm/wasm-validator.cpp
index 0efc8cf4f..dcd56892c 100644
--- a/src/wasm/wasm-validator.cpp
+++ b/src/wasm/wasm-validator.cpp
@@ -1344,6 +1344,7 @@ void FunctionValidator::visitBinary(Binary* curr) {
case MinUVecI8x16:
case MaxSVecI8x16:
case MaxUVecI8x16:
+ case AvgrUVecI8x16:
case AddVecI16x8:
case AddSatSVecI16x8:
case AddSatUVecI16x8:
@@ -1355,6 +1356,7 @@ void FunctionValidator::visitBinary(Binary* curr) {
case MinUVecI16x8:
case MaxSVecI16x8:
case MaxUVecI16x8:
+ case AvgrUVecI16x8:
case AddVecI32x4:
case SubVecI32x4:
case MulVecI32x4: