summaryrefslogtreecommitdiff
path: root/test/interp
diff options
context:
space:
mode:
Diffstat (limited to 'test/interp')
-rw-r--r--test/interp/simd-bitselect.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/interp/simd-bitselect.txt b/test/interp/simd-bitselect.txt
new file mode 100644
index 00000000..aececcad
--- /dev/null
+++ b/test/interp/simd-bitselect.txt
@@ -0,0 +1,14 @@
+;;; TOOL: run-interp
+;;; ARGS*: --enable-simd
+(module
+ ;; v128.bitselect
+ (func (export "func_v128_bitselect_0") (result v128)
+ v128.const i32 0x00ff0001 0x00040002 0x55555555 0x00000004
+ v128.const i32 0x00020001 0x00fe0002 0xaaaaaaaa 0x55000004
+ v128.const i32 0xffffffff 0x00000000 0x55555555 0x55000004
+ v128.bitselect)
+)
+
+(;; STDOUT ;;;
+func_v128_bitselect_0() => v128:0x00ff0001 0x00fe0002 0xffffffff 0x00000004
+;;; STDOUT ;;)