diff options
Diffstat (limited to 'test/interp/simd-binary.txt')
-rw-r--r-- | test/interp/simd-binary.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/interp/simd-binary.txt b/test/interp/simd-binary.txt index 144832a9..fb8ccf7b 100644 --- a/test/interp/simd-binary.txt +++ b/test/interp/simd-binary.txt @@ -150,6 +150,24 @@ v128.const i32 0x00ffffff 0x0400ffff 0x00000003 0x00000004 v128.const i32 0x00020001 0xfe000002 0x00000003 0x00000004 i16x8.sub_saturate_u) + + ;; v128 and + (func (export "v128_and_0") (result v128) + v128.const i32 0x00ff0001 0x00040002 0x44000003 0x00000004 + v128.const i32 0x00020001 0x00fe0002 0x00000003 0x55000004 + v128.and) + + ;; v128 or + (func (export "v128_or_0") (result v128) + v128.const i32 0x00ff0001 0x00040002 0x44000003 0x00000004 + v128.const i32 0x00020001 0x00fe0002 0x00000003 0x55000004 + v128.or) + + ;; v128 xor + (func (export "v128_xor_0") (result v128) + v128.const i32 0x00ff0001 0x00040002 0x44000003 0x00000004 + v128.const i32 0x00020001 0x00fe0002 0x00000003 0x55000004 + v128.xor) ) (;; STDOUT ;;; @@ -183,4 +201,7 @@ i8x16_sub_saturate_signed_0() => v128:0x00000000 0x0000007f 0x00000080 0x0000008 i8x16_sub_saturate_unsigned_0() => v128:0x00fd0000 0x00000000 0x0000ff7f 0x00000000 i16x8_sub_saturate_signed_0() => v128:0x00000000 0x00007fff 0x00008000 0x00008002 i16x8_sub_saturate_unsigned_0() => v128:0x00fdfffe 0x0000fffd 0x00000000 0x00000000 +v128_and_0() => v128:0x00020001 0x00040002 0x00000003 0x00000004 +v128_or_0() => v128:0x00ff0001 0x00fe0002 0x44000003 0x55000004 +v128_xor_0() => v128:0x00fd0000 0x00fa0000 0x44000000 0x55000000 ;;; STDOUT ;;) |