summaryrefslogtreecommitdiff
path: root/test/interp/simd-bitselect.txt
blob: cef7aa8307e4be2b0d74ec9f99273b8198359e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;; TOOL: run-interp
;;; ARGS*: --enable-simd
(module
  ;; v128.bitselect
  (func (export  "func_v128_bitselect_0") (result  v128)
    v128.const i32x4 0x00ff0001 0x00040002 0x55555555 0x00000004
    v128.const i32x4 0x00020001 0x00fe0002 0xaaaaaaaa 0x55000004
    v128.const i32x4 0xffffffff 0x00000000 0x55555555 0x55000004
    v128.bitselect)
)

(;; STDOUT ;;;
func_v128_bitselect_0() => v128 i32x4:0x00ff0001 0x00fe0002 0xffffffff 0x00000004
;;; STDOUT ;;)