summaryrefslogtreecommitdiff
path: root/test/binaryen.js/kitchen-sink.js
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2021-04-08 22:22:27 +0200
committerGitHub <noreply@github.com>2021-04-08 22:22:27 +0200
commit6921dd30dc82b3df2511def7c941f4a1a9aeeec2 (patch)
tree0b54b81186533acf41d625d372751e078ce37669 /test/binaryen.js/kitchen-sink.js
parent7048e9b6238904b8cf60c447276aeeffa369e6e3 (diff)
downloadbinaryen-6921dd30dc82b3df2511def7c941f4a1a9aeeec2.tar.gz
binaryen-6921dd30dc82b3df2511def7c941f4a1a9aeeec2.tar.bz2
binaryen-6921dd30dc82b3df2511def7c941f4a1a9aeeec2.zip
Add v128.load32/64_zero SIMD instructions to C/JS API (#3783)
Adds C/JS APIs for the SIMD instructions * Load32Zero * Load64Zero
Diffstat (limited to 'test/binaryen.js/kitchen-sink.js')
-rw-r--r--test/binaryen.js/kitchen-sink.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js
index 78fa53e22..76193b0bf 100644
--- a/test/binaryen.js/kitchen-sink.js
+++ b/test/binaryen.js/kitchen-sink.js
@@ -515,6 +515,8 @@ function test_core() {
module.v128.load16x4_u(0, 8, module.i32.const(128)),
module.v128.load32x2_s(0, 8, module.i32.const(128)),
module.v128.load32x2_u(0, 8, module.i32.const(128)),
+ module.v128.load32_zero(0, 4, module.i32.const(128)),
+ module.v128.load64_zero(0, 8, module.i32.const(128)),
// Other SIMD
module.i8x16.shuffle(module.v128.const(v128_bytes), module.v128.const(v128_bytes), v128_bytes),
module.v128.bitselect(module.v128.const(v128_bytes), module.v128.const(v128_bytes), module.v128.const(v128_bytes)),