summaryrefslogtreecommitdiff
path: root/test/simd.wast.fromBinary
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2020-10-27 08:58:36 -0700
committerGitHub <noreply@github.com>2020-10-27 08:58:36 -0700
commitca16f7cdc57549333474d7042128d2007bc35fad (patch)
treec42bffa8027099b9d4f5cb6c2283571bd06950c5 /test/simd.wast.fromBinary
parent91ac3be4364e6f9763d6ccff35c83fab0692ef5c (diff)
downloadbinaryen-ca16f7cdc57549333474d7042128d2007bc35fad.tar.gz
binaryen-ca16f7cdc57549333474d7042128d2007bc35fad.tar.bz2
binaryen-ca16f7cdc57549333474d7042128d2007bc35fad.zip
Implement i8x16.popcnt (#3286)
As proposed in https://github.com/WebAssembly/simd/pull/379. Since this instruction is still being evaluated for inclusion in the SIMD proposal, this PR does not add support for it to the C/JS APIs or to the fuzzer. This PR also performs a drive-by fix for unrelated instructions in c-api-kitchen-sink.c
Diffstat (limited to 'test/simd.wast.fromBinary')
-rw-r--r--test/simd.wast.fromBinary5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/simd.wast.fromBinary b/test/simd.wast.fromBinary
index 932b45950..1b5c59e35 100644
--- a/test/simd.wast.fromBinary
+++ b/test/simd.wast.fromBinary
@@ -525,6 +525,11 @@
(local.get $1)
)
)
+ (func $i8x16.popcnt (param $0 v128) (result v128)
+ (i8x16.popcnt
+ (local.get $0)
+ )
+ )
(func $i8x16.abs (param $0 v128) (result v128)
(i8x16.abs
(local.get $0)