summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
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/passes/Print.cpp
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/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index b921fb074..f9d469faf 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -957,12 +957,6 @@ struct PrintExpressionContents
case NegVecI64x2:
o << "i64x2.neg";
break;
- case AnyTrueVecI64x2:
- o << "i64x2.any_true";
- break;
- case AllTrueVecI64x2:
- o << "i64x2.all_true";
- break;
case BitmaskVecI64x2:
o << "i64x2.bitmask";
break;
@@ -1008,6 +1002,18 @@ struct PrintExpressionContents
case NearestVecF64x2:
o << "f64x2.nearest";
break;
+ case ExtAddPairwiseSVecI8x16ToI16x8:
+ o << "i16x8.extadd_pairwise_i8x16_s";
+ break;
+ case ExtAddPairwiseUVecI8x16ToI16x8:
+ o << "i16x8.extadd_pairwise_i8x16_u";
+ break;
+ case ExtAddPairwiseSVecI16x8ToI32x4:
+ o << "i32x4.extadd_pairwise_i16x8_s";
+ break;
+ case ExtAddPairwiseUVecI16x8ToI32x4:
+ o << "i32x4.extadd_pairwise_i16x8_u";
+ break;
case TruncSatSVecF32x4ToVecI32x4:
o << "i32x4.trunc_sat_f32x4_s";
break;