summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.c
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2019-10-03 18:07:02 -0700
committerGitHub <noreply@github.com>2019-10-03 18:07:02 -0700
commit3c78269032071490bc13dc5dbac02567d4d491e0 (patch)
treea00c874c18dd2e00fbb2d05aa104ee8131a7d1c5 /test/example/c-api-kitchen-sink.c
parentfc6d2df4eedfef53a0a29fed1ff3ce4707556700 (diff)
downloadbinaryen-3c78269032071490bc13dc5dbac02567d4d491e0.tar.gz
binaryen-3c78269032071490bc13dc5dbac02567d4d491e0.tar.bz2
binaryen-3c78269032071490bc13dc5dbac02567d4d491e0.zip
v8x16.swizzle (#2368)
As specified at https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md#swizzling-using-variable-indices.
Diffstat (limited to 'test/example/c-api-kitchen-sink.c')
-rw-r--r--test/example/c-api-kitchen-sink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index 689adcae0..742c88b76 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -454,6 +454,7 @@ void test_core() {
makeBinary(module, BinaryenNarrowUVecI16x8ToVecI8x16(), 5),
makeBinary(module, BinaryenNarrowSVecI32x4ToVecI16x8(), 5),
makeBinary(module, BinaryenNarrowUVecI32x4ToVecI16x8(), 5),
+ makeBinary(module, BinaryenSwizzleVec8x16(), 5),
// SIMD lane manipulation
makeSIMDExtract(module, BinaryenExtractLaneSVecI8x16()),
makeSIMDExtract(module, BinaryenExtractLaneUVecI8x16()),