diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2020-03-20 16:31:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-20 16:31:16 -0700 |
commit | 03ae7fcbfc5cedefd25c2414616cb1d3f77ab51b (patch) | |
tree | 17f6a9148ffd659f870dfe5745383fb1507e4d42 /src/wasm.h | |
parent | 39fda77da51f83b200fc63bbfbc4dd2ccbfc2388 (diff) | |
download | binaryen-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.h | 6 |
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, |