diff options
author | lizhengxing <unixhaha@gmail.com> | 2018-03-15 20:46:46 -0700 |
---|---|---|
committer | Ben Smith <binjimin@gmail.com> | 2018-03-15 20:46:46 -0700 |
commit | bff679779509ab1bb0c923bc4e67cf88eaadfa42 (patch) | |
tree | 2f2c48150fad07aa1479a8a90f5540a95f318596 /test/interp/simd-lane.txt | |
parent | e31a5623815a545e57db3eb0ec3988025b1b0f0e (diff) | |
download | wabt-bff679779509ab1bb0c923bc4e67cf88eaadfa42.tar.gz wabt-bff679779509ab1bb0c923bc4e67cf88eaadfa42.tar.bz2 wabt-bff679779509ab1bb0c923bc4e67cf88eaadfa42.zip |
SIMD v8x16.shuffle implementation. (#811)
Diffstat (limited to 'test/interp/simd-lane.txt')
-rw-r--r-- | test/interp/simd-lane.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/interp/simd-lane.txt b/test/interp/simd-lane.txt index c6062799..7e3aa86b 100644 --- a/test/interp/simd-lane.txt +++ b/test/interp/simd-lane.txt @@ -80,6 +80,12 @@ v128.const i32 0x0000789a 0xff880330 0x0000ffff 0x0000017f f64.const 4.5 f64x2.replace_lane 0) + + ;; v8x16 shuffle + (func (export "func_v8x16_shuffle_0") (result v128) + v128.const i32 0xff00ff01 0xff00ff0f 0xff00ffff 0xff00ff7f + v128.const i32 0x00550055 0x00550055 0x00550055 0x00550155 + v8x16.shuffle 0x03120110 0x07160514 0x0b1a0918 0x0f1e0d1c) ) (;; STDOUT ;;; func_i8x16_extract_lane_s_0() => i32:4294967295 @@ -96,4 +102,5 @@ func_i32x4_replace_lane_0() => v128:0x00000001 0x0000000f 0x12345678 0x0000017f func_i64x2_replace_lane_0() => v128:0x00005678 0x00001234 0x0000ffff 0x0000017f func_f32x4_replace_lane_0() => v128:0x00000001 0x3fc00000 0x0000ffff 0x0000017f func_f64x2_replace_lane_0() => v128:0x00000000 0x40120000 0x0000ffff 0x0000017f +func_v8x16_shuffle_0() => v128:0xff55ff55 0xff55ff55 0xff55ff55 0xff55ff55 ;;; STDOUT ;;) |