summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2021-01-05 19:27:53 -0500
committerGitHub <noreply@github.com>2021-01-05 16:27:53 -0800
commitb79661ee03fc74b3f860bf04e6f1019f7b11c722 (patch)
tree5f25958499f95e219fadc8d4cc2e2b0801bddf6b /src/wasm.h
parent3e5ce644e0336bc7ce82a5f6df6b1f671097556d (diff)
downloadbinaryen-b79661ee03fc74b3f860bf04e6f1019f7b11c722.tar.gz
binaryen-b79661ee03fc74b3f860bf04e6f1019f7b11c722.tar.bz2
binaryen-b79661ee03fc74b3f860bf04e6f1019f7b11c722.zip
Prototype SIMD extending pairwise add instructions (#3466)
As proposed in https://github.com/WebAssembly/simd/pull/380, using the opcodes used in LLVM and V8. Since these opcodes overlap with the opcodes of i64x2.all_true and i64x2.any_true, which have long since been removed from the SIMD proposal, this PR also removes those instructions.
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 1d5642625..12aacd2ed 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -174,8 +174,6 @@ enum UnaryOp {
AllTrueVecI32x4,
BitmaskVecI32x4,
NegVecI64x2,
- AnyTrueVecI64x2,
- AllTrueVecI64x2,
BitmaskVecI64x2,
AbsVecF32x4,
NegVecF32x4,
@@ -191,6 +189,10 @@ enum UnaryOp {
FloorVecF64x2,
TruncVecF64x2,
NearestVecF64x2,
+ ExtAddPairwiseSVecI8x16ToI16x8,
+ ExtAddPairwiseUVecI8x16ToI16x8,
+ ExtAddPairwiseSVecI16x8ToI32x4,
+ ExtAddPairwiseUVecI16x8ToI32x4,
// SIMD conversions
TruncSatSVecF32x4ToVecI32x4,