summaryrefslogtreecommitdiff
path: root/test/parse/expr
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr')
-rw-r--r--test/parse/expr/bad-const-v128-i16x8-overflow.txt5
-rw-r--r--test/parse/expr/bad-const-v128-i32x4-overflow.txt5
-rw-r--r--test/parse/expr/bad-const-v128-i8x16-overflow.txt5
-rw-r--r--test/parse/expr/bad-const-v128-nat-overflow.txt3
-rw-r--r--test/parse/expr/bad-const-v128-type-i32-expected.txt3
-rw-r--r--test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt3
-rw-r--r--test/parse/expr/bad-simd-shuffle-lane-index-overflow2.txt3
-rw-r--r--test/parse/expr/bad-simd-shuffle-nat-expected.txt3
-rw-r--r--test/parse/expr/bad-simd-shuffle-not-enough-indices.txt3
-rw-r--r--test/parse/expr/const.txt1
-rw-r--r--test/parse/expr/simd.txt1
11 files changed, 12 insertions, 23 deletions
diff --git a/test/parse/expr/bad-const-v128-i16x8-overflow.txt b/test/parse/expr/bad-const-v128-i16x8-overflow.txt
index e0ba0dbc..f0db4a95 100644
--- a/test/parse/expr/bad-const-v128-i16x8-overflow.txt
+++ b/test/parse/expr/bad-const-v128-i16x8-overflow.txt
@@ -1,15 +1,14 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
;;; ERROR: 1
(module
(func v128.const i16x8 -32768 -32767 32767 65535 65536 0 0 0)
(func v128.const i16x8 -32768 -32769 32767 65535 65536 0 0 0)
)
(;; STDERR ;;;
-out/test/parse/expr/bad-const-v128-i16x8-overflow.txt:5:52: error: invalid literal "65536"
+out/test/parse/expr/bad-const-v128-i16x8-overflow.txt:4:52: error: invalid literal "65536"
(func v128.const i16x8 -32768 -32767 32767 65535 65536 0 0 0)
^^^^^
-out/test/parse/expr/bad-const-v128-i16x8-overflow.txt:6:33: error: invalid literal "-32769"
+out/test/parse/expr/bad-const-v128-i16x8-overflow.txt:5:33: error: invalid literal "-32769"
(func v128.const i16x8 -32768 -32769 32767 65535 65536 0 0 0)
^^^^^^
;;; STDERR ;;)
diff --git a/test/parse/expr/bad-const-v128-i32x4-overflow.txt b/test/parse/expr/bad-const-v128-i32x4-overflow.txt
index bef182fb..967aecf0 100644
--- a/test/parse/expr/bad-const-v128-i32x4-overflow.txt
+++ b/test/parse/expr/bad-const-v128-i32x4-overflow.txt
@@ -1,15 +1,14 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
;;; ERROR: 1
(module
(func v128.const i32x4 -2147483648 2147483648 4294967295 4294967296)
(func v128.const i32x4 -2147483648 -2147483649 4294967295 4294967296)
)
(;; STDERR ;;;
-out/test/parse/expr/bad-const-v128-i32x4-overflow.txt:5:60: error: invalid literal "4294967296"
+out/test/parse/expr/bad-const-v128-i32x4-overflow.txt:4:60: error: invalid literal "4294967296"
(func v128.const i32x4 -2147483648 2147483648 4294967295 4294967296)
^^^^^^^^^^
-out/test/parse/expr/bad-const-v128-i32x4-overflow.txt:6:38: error: invalid literal "-2147483649"
+out/test/parse/expr/bad-const-v128-i32x4-overflow.txt:5:38: error: invalid literal "-2147483649"
(func v128.const i32x4 -2147483648 -2147483649 4294967295 4294967296)
^^^^^^^^^^^
;;; STDERR ;;)
diff --git a/test/parse/expr/bad-const-v128-i8x16-overflow.txt b/test/parse/expr/bad-const-v128-i8x16-overflow.txt
index d50ebd78..d091b7f6 100644
--- a/test/parse/expr/bad-const-v128-i8x16-overflow.txt
+++ b/test/parse/expr/bad-const-v128-i8x16-overflow.txt
@@ -1,15 +1,14 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
;;; ERROR: 1
(module
(func v128.const i8x16 -127 -128 128 255 256 0 0 0 0 0 0 0 0 0 0 0)
(func v128.const i8x16 -127 -129 128 255 256 0 0 0 0 0 0 0 0 0 0 0)
)
(;; STDERR ;;;
-out/test/parse/expr/bad-const-v128-i8x16-overflow.txt:5:44: error: invalid literal "256"
+out/test/parse/expr/bad-const-v128-i8x16-overflow.txt:4:44: error: invalid literal "256"
(func v128.const i8x16 -127 -128 128 255 256 0 0 0 0 0 0 0 0 0 0 0)
^^^
-out/test/parse/expr/bad-const-v128-i8x16-overflow.txt:6:31: error: invalid literal "-129"
+out/test/parse/expr/bad-const-v128-i8x16-overflow.txt:5:31: error: invalid literal "-129"
(func v128.const i8x16 -127 -129 128 255 256 0 0 0 0 0 0 0 0 0 0 0)
^^^^
;;; STDERR ;;)
diff --git a/test/parse/expr/bad-const-v128-nat-overflow.txt b/test/parse/expr/bad-const-v128-nat-overflow.txt
index 0c67a5ca..98cd2a56 100644
--- a/test/parse/expr/bad-const-v128-nat-overflow.txt
+++ b/test/parse/expr/bad-const-v128-nat-overflow.txt
@@ -1,10 +1,9 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
;;; ERROR: 1
(module
(func v128.const i32x4 0x12345678 0x123 4294967296 0xabcd3478))
(;; STDERR ;;;
-out/test/parse/expr/bad-const-v128-nat-overflow.txt:5:43: error: invalid literal "4294967296"
+out/test/parse/expr/bad-const-v128-nat-overflow.txt:4:43: error: invalid literal "4294967296"
(func v128.const i32x4 0x12345678 0x123 4294967296 0xabcd3478))
^^^^^^^^^^
;;; STDERR ;;)
diff --git a/test/parse/expr/bad-const-v128-type-i32-expected.txt b/test/parse/expr/bad-const-v128-type-i32-expected.txt
index e990f820..15871514 100644
--- a/test/parse/expr/bad-const-v128-type-i32-expected.txt
+++ b/test/parse/expr/bad-const-v128-type-i32-expected.txt
@@ -1,10 +1,9 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
;;; ERROR: 1
(module (func v128.const 0x12345678 0x00000000 0x00000000 0xabcd3478))
(module (func v128.const i64 0x12345678 0x00000000 0x00000000 0xabcd3478))
(;; STDERR ;;;
-out/test/parse/expr/bad-const-v128-type-i32-expected.txt:4:26: error: Unexpected type at start of simd constant. Expected one of: i8x16, i16x8, i32x4, i64x2, f32x4, f64x2. Found "NAT".
+out/test/parse/expr/bad-const-v128-type-i32-expected.txt:3:26: error: Unexpected type at start of simd constant. Expected one of: i8x16, i16x8, i32x4, i64x2, f32x4, f64x2. Found "NAT".
(module (func v128.const 0x12345678 0x00000000 0x00000000 0xabcd3478))
^^^^^^^^^^
;;; STDERR ;;)
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 680e048b..5c44cfdb 100644
--- a/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt
+++ b/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt
@@ -1,5 +1,4 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
;;; ERROR: 1
(module
(func
@@ -9,7 +8,7 @@
))
(;; STDERR ;;;
-out/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt:8:19: error: lane index "0x01020304" out-of-range [0, 32)
+out/test/parse/expr/bad-simd-shuffle-lane-index-overflow.txt:7:19: error: lane index "0x01020304" out-of-range [0, 32)
i8x16.shuffle 0x01020304 05060708 0x090a0b0c 0x00000000
^^^^^^^^^^
;;; STDERR ;;)
diff --git a/test/parse/expr/bad-simd-shuffle-lane-index-overflow2.txt b/test/parse/expr/bad-simd-shuffle-lane-index-overflow2.txt
index fba077bf..8f4d3f52 100644
--- a/test/parse/expr/bad-simd-shuffle-lane-index-overflow2.txt
+++ b/test/parse/expr/bad-simd-shuffle-lane-index-overflow2.txt
@@ -1,5 +1,4 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
;;; ERROR: 1
(module
(func
@@ -10,7 +9,7 @@
))
(;; STDERR ;;;
-out/test/parse/expr/bad-simd-shuffle-lane-index-overflow2.txt:8:5: error: lane index must be less than 32 (got 33)
+out/test/parse/expr/bad-simd-shuffle-lane-index-overflow2.txt:7:5: error: lane index must be less than 32 (got 33)
i8x16.shuffle 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 33
^^^^^^^^^^^^^
;;; STDERR ;;)
diff --git a/test/parse/expr/bad-simd-shuffle-nat-expected.txt b/test/parse/expr/bad-simd-shuffle-nat-expected.txt
index f36165c3..d5375329 100644
--- a/test/parse/expr/bad-simd-shuffle-nat-expected.txt
+++ b/test/parse/expr/bad-simd-shuffle-nat-expected.txt
@@ -1,5 +1,4 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
;;; ERROR: 1
(module
(func
@@ -9,7 +8,7 @@
))
(;; STDERR ;;;
-out/test/parse/expr/bad-simd-shuffle-nat-expected.txt:8:19: error: unexpected token "$0x01020304", expected a natural number in range [0, 32).
+out/test/parse/expr/bad-simd-shuffle-nat-expected.txt:7:19: error: unexpected token "$0x01020304", expected a natural number in range [0, 32).
i8x16.shuffle $0x01020304 0x05060708 0x090a0b0c 0x00000000
^^^^^^^^^^^
;;; STDERR ;;)
diff --git a/test/parse/expr/bad-simd-shuffle-not-enough-indices.txt b/test/parse/expr/bad-simd-shuffle-not-enough-indices.txt
index 901fa1e2..b0127cc6 100644
--- a/test/parse/expr/bad-simd-shuffle-not-enough-indices.txt
+++ b/test/parse/expr/bad-simd-shuffle-not-enough-indices.txt
@@ -1,5 +1,4 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
;;; ERROR: 1
(module
(func
@@ -9,7 +8,7 @@
))
(;; STDERR ;;;
-out/test/parse/expr/bad-simd-shuffle-not-enough-indices.txt:9:5: error: unexpected token ")", expected a natural number in range [0, 32).
+out/test/parse/expr/bad-simd-shuffle-not-enough-indices.txt:8:5: error: unexpected token ")", expected a natural number in range [0, 32).
))
^
;;; STDERR ;;)
diff --git a/test/parse/expr/const.txt b/test/parse/expr/const.txt
index 7b5d2122..90bfb950 100644
--- a/test/parse/expr/const.txt
+++ b/test/parse/expr/const.txt
@@ -1,5 +1,4 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
(module
(func
i32.const 0
diff --git a/test/parse/expr/simd.txt b/test/parse/expr/simd.txt
index 30ea440a..ca1aaadb 100644
--- a/test/parse/expr/simd.txt
+++ b/test/parse/expr/simd.txt
@@ -1,5 +1,4 @@
;;; TOOL: wat2wasm
-;;; ARGS: --enable-simd
(module
(func
v128.const i32x4 0xff00ff01 0xff00ff0f 0xff00ffff 0xff00ff7f