summaryrefslogtreecommitdiff
path: root/test/simd.wast
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2019-09-24 15:29:15 -0700
committerGitHub <noreply@github.com>2019-09-24 15:29:15 -0700
commit034ed383a968204427befda3f9fb8bb5d2f63f75 (patch)
tree36ae37db02cdae27416be250fe533d0f0bff77e8 /test/simd.wast
parent835581f58eb5040656243f7345ebcacf6d7deee5 (diff)
downloadbinaryen-034ed383a968204427befda3f9fb8bb5d2f63f75.tar.gz
binaryen-034ed383a968204427befda3f9fb8bb5d2f63f75.tar.bz2
binaryen-034ed383a968204427befda3f9fb8bb5d2f63f75.zip
v128.andnot instruction (#2355)
As specified at https://github.com/WebAssembly/simd/pull/102. Also fixes bugs in the JS API for other SIMD bitwise operators.
Diffstat (limited to 'test/simd.wast')
-rw-r--r--test/simd.wast6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/simd.wast b/test/simd.wast
index 7e2c45c74..1b0b33f4c 100644
--- a/test/simd.wast
+++ b/test/simd.wast
@@ -411,6 +411,12 @@
(local.get $1)
)
)
+ (func $v128.andnot (param $0 v128) (param $1 v128) (result v128)
+ (v128.andnot
+ (local.get $0)
+ (local.get $1)
+ )
+ )
(func $v128.bitselect (param $0 v128) (param $1 v128) (param $2 v128) (result v128)
(v128.bitselect
(local.get $0)