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-interpreter.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-interpreter.h')
-rw-r--r-- | src/wasm-interpreter.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index 357cc3979..4765efa0e 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -435,24 +435,36 @@ public: return value.splatF64x2(); case NotVec128: return value.notV128(); + case AbsVecI8x16: + return value.absI8x16(); case NegVecI8x16: return value.negI8x16(); case AnyTrueVecI8x16: return value.anyTrueI8x16(); case AllTrueVecI8x16: return value.allTrueI8x16(); + case BitmaskVecI8x16: + return value.bitmaskI8x16(); + case AbsVecI16x8: + return value.absI16x8(); case NegVecI16x8: return value.negI16x8(); case AnyTrueVecI16x8: return value.anyTrueI16x8(); case AllTrueVecI16x8: return value.allTrueI16x8(); + case BitmaskVecI16x8: + return value.bitmaskI16x8(); + case AbsVecI32x4: + return value.absI32x4(); case NegVecI32x4: return value.negI32x4(); case AnyTrueVecI32x4: return value.anyTrueI32x4(); case AllTrueVecI32x4: return value.allTrueI32x4(); + case BitmaskVecI32x4: + return value.bitmaskI32x4(); case NegVecI64x2: return value.negI64x2(); case AnyTrueVecI64x2: |