summaryrefslogtreecommitdiff
path: root/src/js/binaryen.js-post.js
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/js/binaryen.js-post.js
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/js/binaryen.js-post.js')
-rw-r--r--src/js/binaryen.js-post.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/js/binaryen.js-post.js b/src/js/binaryen.js-post.js
index 128e148e2..6cdf26e32 100644
--- a/src/js/binaryen.js-post.js
+++ b/src/js/binaryen.js-post.js
@@ -416,8 +416,6 @@ function initializeConstants() {
'MaxSVecI32x4',
'MaxUVecI32x4',
'NegVecI64x2',
- 'AnyTrueVecI64x2',
- 'AllTrueVecI64x2',
'ShlVecI64x2',
'ShrSVecI64x2',
'ShrUVecI64x2',
@@ -1828,12 +1826,6 @@ function wrapModule(module, self = {}) {
'neg'(value) {
return Module['_BinaryenUnary'](module, Module['NegVecI64x2'], value);
},
- 'any_true'(value) {
- return Module['_BinaryenUnary'](module, Module['AnyTrueVecI64x2'], value);
- },
- 'all_true'(value) {
- return Module['_BinaryenUnary'](module, Module['AllTrueVecI64x2'], value);
- },
'shl'(vec, shift) {
return Module['_BinaryenSIMDShift'](module, Module['ShlVecI64x2'], vec, shift);
},