diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2019-11-04 15:44:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-04 15:44:19 -0800 |
commit | 368f8a743c8322c3a01633f0cfa8ce205d58fb49 (patch) | |
tree | 3cf09812f83b13d6c7dd87cc0359fd7e024ad0a4 /src/wasm/wasm-stack.cpp | |
parent | 74526f3effdab0d5bca9cb122989335b6527e76f (diff) | |
download | binaryen-368f8a743c8322c3a01633f0cfa8ce205d58fb49.tar.gz binaryen-368f8a743c8322c3a01633f0cfa8ce205d58fb49.tar.bz2 binaryen-368f8a743c8322c3a01633f0cfa8ce205d58fb49.zip |
Add i32x4.dot_i16x8_s (#2420)
This experimental instruction is specified in
https://github.com/WebAssembly/simd/pull/127 and is being implemented
to enable further investigation of its performance impact.
Diffstat (limited to 'src/wasm/wasm-stack.cpp')
-rw-r--r-- | src/wasm/wasm-stack.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm/wasm-stack.cpp b/src/wasm/wasm-stack.cpp index d4af126b7..c1d4f1222 100644 --- a/src/wasm/wasm-stack.cpp +++ b/src/wasm/wasm-stack.cpp @@ -1459,6 +1459,10 @@ void BinaryInstWriter::visitBinary(Binary* curr) { case MaxUVecI32x4: o << int8_t(BinaryConsts::SIMDPrefix) << U32LEB(BinaryConsts::I32x4MaxU); break; + case DotSVecI16x8ToVecI32x4: + o << int8_t(BinaryConsts::SIMDPrefix) + << U32LEB(BinaryConsts::I32x4DotSVecI16x8); + break; case AddVecI64x2: o << int8_t(BinaryConsts::SIMDPrefix) << U32LEB(BinaryConsts::I64x2Add); break; |