summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2020-03-20 16:31:16 -0700
committerGitHub <noreply@github.com>2020-03-20 16:31:16 -0700
commit03ae7fcbfc5cedefd25c2414616cb1d3f77ab51b (patch)
tree17f6a9148ffd659f870dfe5745383fb1507e4d42 /src/wasm.h
parent39fda77da51f83b200fc63bbfbc4dd2ccbfc2388 (diff)
downloadbinaryen-03ae7fcbfc5cedefd25c2414616cb1d3f77ab51b.tar.gz
binaryen-03ae7fcbfc5cedefd25c2414616cb1d3f77ab51b.tar.bz2
binaryen-03ae7fcbfc5cedefd25c2414616cb1d3f77ab51b.zip
SIMD integer abs and bitmask instructions (#2703)
Adds full support for the {i8x16,i16x8,i32x4}.abs instructions merged to the SIMD proposal in https://github.com/WebAssembly/simd/pull/128 as well as the {i8x16,i16x8,i32x4}.bitmask instructions proposed in https://github.com/WebAssembly/simd/pull/201.
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index a89353de6..21fef1049 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -156,15 +156,21 @@ enum UnaryOp {
// SIMD arithmetic
NotVec128,
+ AbsVecI8x16,
NegVecI8x16,
AnyTrueVecI8x16,
AllTrueVecI8x16,
+ BitmaskVecI8x16,
+ AbsVecI16x8,
NegVecI16x8,
AnyTrueVecI16x8,
AllTrueVecI16x8,
+ BitmaskVecI16x8,
+ AbsVecI32x4,
NegVecI32x4,
AnyTrueVecI32x4,
AllTrueVecI32x4,
+ BitmaskVecI32x4,
NegVecI64x2,
AnyTrueVecI64x2,
AllTrueVecI64x2,