summaryrefslogtreecommitdiff
path: root/src/wasm-binary.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-binary.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-binary.h')
-rw-r--r--src/wasm-binary.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 382bfbd4f..b2c922dc2 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -897,8 +897,6 @@ enum ASTNodes {
I64x2WidenLowUI32x4 = 0xc9,
I64x2WidenHighUI32x4 = 0xca,
I64x2Neg = 0xc1,
- I64x2AnyTrue = 0xc2,
- I64x2AllTrue = 0xc3,
I64x2Shl = 0xcb,
I64x2ShrS = 0xcc,
I64x2ShrU = 0xcd,
@@ -939,6 +937,11 @@ enum ASTNodes {
F64x2PMin = 0xf6,
F64x2PMax = 0xf7,
+ I16x8ExtAddPairWiseSI8x16 = 0xc2,
+ I16x8ExtAddPairWiseUI8x16 = 0xc3,
+ I32x4ExtAddPairWiseSI16x8 = 0xa5,
+ I32x4ExtAddPairWiseUI16x8 = 0xa6,
+
I32x4TruncSatSF32x4 = 0xf8,
I32x4TruncSatUF32x4 = 0xf9,
F32x4ConvertSI32x4 = 0xfa,