diff options
author | Ng Zhi An <ngzhian@gmail.com> | 2021-03-22 15:22:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 15:22:02 -0700 |
commit | 2c7d2572414aad39341734d1513a6cd94759a320 (patch) | |
tree | 4b71cafd0fbee7c1a4920a96b8d4e11138f7264a /test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt | |
parent | c7293e42c587cab2b15eaf2934f574f84eeab9e5 (diff) | |
download | wabt-2c7d2572414aad39341734d1513a6cd94759a320.tar.gz wabt-2c7d2572414aad39341734d1513a6cd94759a320.tar.bz2 wabt-2c7d2572414aad39341734d1513a6cd94759a320.zip |
[simd] Implement load lane (#1646)
This is a new kind of ir/ast node/instruction. It has 3 immediates:
memarg align, memarg offset, and lane index. This required new visitor
functions in all the places.
Drive-by cleanup to share the simd lane parsing logic between shuffle,
lane op and this new load lane instructions. This requires rebasing some
tests because the error messages are slightly different now.
Diffstat (limited to 'test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt')
-rw-r--r-- | test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt b/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt index 94f3f172..680e048b 100644 --- a/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt +++ b/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt @@ -9,7 +9,7 @@ )) (;; STDERR ;;; -out/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt:8:19: error: shuffle index "0x01020304" out-of-range [0, 32) +out/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt:8:19: error: lane index "0x01020304" out-of-range [0, 32) i8x16.shuffle 0x01020304 05060708 0x090a0b0c 0x00000000 ^^^^^^^^^^ ;;; STDERR ;;) |