summaryrefslogtreecommitdiff
path: root/test/binaryen.js/kitchen-sink.js
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2019-09-24 16:57:57 -0700
committerGitHub <noreply@github.com>2019-09-24 16:57:57 -0700
commited2c3cd0892be8a1380a6c6bfddfa3492c16f91c (patch)
tree32e5f1499f69caa359c130c92e1d28153e7506d3 /test/binaryen.js/kitchen-sink.js
parent034ed383a968204427befda3f9fb8bb5d2f63f75 (diff)
downloadbinaryen-ed2c3cd0892be8a1380a6c6bfddfa3492c16f91c.tar.gz
binaryen-ed2c3cd0892be8a1380a6c6bfddfa3492c16f91c.tar.bz2
binaryen-ed2c3cd0892be8a1380a6c6bfddfa3492c16f91c.zip
SIMD load and extend instructions (#2353)
Adds support for the new load and extend instructions. Also updates from C++11 to C++17 in order to use generic lambdas in the interpreter implementation.
Diffstat (limited to 'test/binaryen.js/kitchen-sink.js')
-rw-r--r--test/binaryen.js/kitchen-sink.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js
index 4cdfaf2a3..23c50b87f 100644
--- a/test/binaryen.js/kitchen-sink.js
+++ b/test/binaryen.js/kitchen-sink.js
@@ -386,6 +386,12 @@ function test_core() {
module.v16x8.load_splat(16, 1, module.i32.const(128)),
module.v32x4.load_splat(16, 4, module.i32.const(128)),
module.v64x2.load_splat(0, 4, module.i32.const(128)),
+ module.i16x8.load8x8_s(0, 8, module.i32.const(128)),
+ module.i16x8.load8x8_u(0, 8, module.i32.const(128)),
+ module.i32x4.load16x4_s(0, 8, module.i32.const(128)),
+ module.i32x4.load16x4_u(0, 8, module.i32.const(128)),
+ module.i64x2.load32x2_s(0, 8, module.i32.const(128)),
+ module.i64x2.load32x2_u(0, 8, module.i32.const(128)),
// Other SIMD
module.v8x16.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)),