| 1 |
# HG changeset patch |
| 2 |
# User Ryan Hunt <[email protected]> |
| 3 |
# Date 1685551062 18000 |
| 4 |
# Wed May 31 11:37:42 2023 -0500 |
| 5 |
# Node ID 551e7bae9a6bb2634680b8129af7634ceeccc648 |
| 6 |
# Parent 1b28ba88d59584fcf977974a625a179b5bdbdabf |
| 7 |
Spec test patches rollup. |
| 8 |
|
| 9 |
1. Bug 1737225 - Disable some tests on arm. r=yury |
| 10 |
|
| 11 |
Disable a partial-oob test on arm/arm64 because some hardware will |
| 12 |
perform byte-at-a-time writes at the end of the heap, and we have |
| 13 |
not fixed that yet. |
| 14 |
|
| 15 |
diff --git a/js/src/jit-test/tests/wasm/spec/memory64/align64.wast.js b/js/src/jit-test/tests/wasm/spec/memory64/align64.wast.js |
| 16 |
--- a/js/src/jit-test/tests/wasm/spec/memory64/align64.wast.js |
| 17 |
+++ b/js/src/jit-test/tests/wasm/spec/memory64/align64.wast.js |
| 18 |
@@ -1076,8 +1076,15 @@ let $24 = instantiate(`(module |
| 19 |
) |
| 20 |
)`); |
| 21 |
|
| 22 |
-// ./test/core/align64.wast:864 |
| 23 |
-assert_trap(() => invoke($24, `store`, [65532n, -1n]), `out of bounds memory access`); |
| 24 |
+// Bug 1737225 - do not observe the partial store caused by bug 1666747 on |
| 25 |
+// some native platforms. |
| 26 |
+if (!partialOobWriteMayWritePartialData()) { |
| 27 |
+ // ./test/core/align64.wast:864 |
| 28 |
+ assert_trap( |
| 29 |
+ () => invoke($24, `store`, [65532n, -1n]), |
| 30 |
+ `out of bounds memory access`, |
| 31 |
+ ); |
| 32 |
|
| 33 |
-// ./test/core/align64.wast:866 |
| 34 |
-assert_return(() => invoke($24, `load`, [65532n]), [value("i32", 0)]); |
| 35 |
+ // ./test/core/align64.wast:866 |
| 36 |
+ assert_return(() => invoke($24, `load`, [65532n]), [value("i32", 0)]); |
| 37 |
+} |
| 38 |
diff --git a/js/src/jit-test/tests/wasm/spec/memory64/harness/harness.js b/js/src/jit-test/tests/wasm/spec/memory64/harness/harness.js |
| 39 |
--- a/js/src/jit-test/tests/wasm/spec/memory64/harness/harness.js |
| 40 |
+++ b/js/src/jit-test/tests/wasm/spec/memory64/harness/harness.js |
| 41 |
@@ -19,6 +19,15 @@ if (!wasmIsSupported()) { |
| 42 |
quit(); |
| 43 |
} |
| 44 |
|
| 45 |
+function partialOobWriteMayWritePartialData() { |
| 46 |
+ let arm_native = getBuildConfiguration("arm") && !getBuildConfiguration("arm-simulator"); |
| 47 |
+ let arm64_native = getBuildConfiguration("arm64") && !getBuildConfiguration("arm64-simulator"); |
| 48 |
+ return arm_native || arm64_native; |
| 49 |
+} |
| 50 |
+ |
| 51 |
+let native_arm = getBuildConfiguration("arm") && !getBuildConfiguration("arm-simulator"); |
| 52 |
+let native_arm64 = getBuildConfiguration("arm64") && !getBuildConfiguration("arm64-simulator"); |
| 53 |
+ |
| 54 |
function bytes(type, bytes) { |
| 55 |
var typedBuffer = new Uint8Array(bytes); |
| 56 |
return wasmGlobalFromArrayBuffer(type, typedBuffer.buffer); |
| 57 |
diff --git a/js/src/jit-test/tests/wasm/spec/memory64/memory_trap64.wast.js b/js/src/jit-test/tests/wasm/spec/memory64/memory_trap64.wast.js |
| 58 |
--- a/js/src/jit-test/tests/wasm/spec/memory64/memory_trap64.wast.js |
| 59 |
+++ b/js/src/jit-test/tests/wasm/spec/memory64/memory_trap64.wast.js |
| 60 |
@@ -617,8 +617,16 @@ assert_trap(() => invoke($1, `i64.load32 |
| 61 |
// ./test/core/memory_trap64.wast:265 |
| 62 |
assert_trap(() => invoke($1, `i64.load32_u`, [-4n]), `out of bounds memory access`); |
| 63 |
|
| 64 |
-// ./test/core/memory_trap64.wast:268 |
| 65 |
-assert_return(() => invoke($1, `i64.load`, [65528n]), [value("i64", 7523094288207667809n)]); |
| 66 |
+// Bug 1737225 - do not observe the partial store caused by bug 1666747 on |
| 67 |
+// some native platforms. |
| 68 |
+if (!partialOobWriteMayWritePartialData()) { |
| 69 |
+ // ./test/core/memory_trap64.wast:268 |
| 70 |
+ assert_return(() => invoke($1, `i64.load`, [65528n]), [ |
| 71 |
+ value("i64", 7523094288207667809n), |
| 72 |
+ ]); |
| 73 |
|
| 74 |
-// ./test/core/memory_trap64.wast:269 |
| 75 |
-assert_return(() => invoke($1, `i64.load`, [0n]), [value("i64", 7523094288207667809n)]); |
| 76 |
+ // ./test/core/memory_trap64.wast:269 |
| 77 |
+ assert_return(() => invoke($1, `i64.load`, [0n]), [ |
| 78 |
+ value("i64", 7523094288207667809n), |
| 79 |
+ ]); |
| 80 |
+} |
| 81 |
diff --git a/js/src/jit-test/tests/wasm/spec/memory64/memory.wast.js b/js/src/jit-test/tests/wasm/spec/memory64/memory.wast.js |
| 82 |
--- a/js/src/jit-test/tests/wasm/spec/memory64/memory.wast.js |
| 83 |
+++ b/js/src/jit-test/tests/wasm/spec/memory64/memory.wast.js |
| 84 |
@@ -124,32 +124,2 @@ |
| 85 |
assert_invalid(() => instantiate(`(module (memory 0 4294967295))`), `memory size`); |
| 86 |
- |
| 87 |
-// ./test/core/memory.wast:77 |
| 88 |
-assert_invalid(() => instantiate(`(module (memory 0x1_0000_0000))`), `memory size`); |
| 89 |
- |
| 90 |
-// ./test/core/memory.wast:81 |
| 91 |
-assert_invalid( |
| 92 |
- () => instantiate(`(module (memory 0x1_0000_0000 0x1_0000_0000))`), |
| 93 |
- `memory size`, |
| 94 |
-); |
| 95 |
- |
| 96 |
-// ./test/core/memory.wast:85 |
| 97 |
-assert_invalid(() => instantiate(`(module (memory 0 0x1_0000_0000))`), `memory size`); |
| 98 |
- |
| 99 |
-// ./test/core/memory.wast:90 |
| 100 |
-assert_invalid( |
| 101 |
- () => instantiate(`(module (memory (import "M" "m") 0x1_0000_0000))`), |
| 102 |
- `memory size`, |
| 103 |
-); |
| 104 |
- |
| 105 |
-// ./test/core/memory.wast:94 |
| 106 |
-assert_invalid( |
| 107 |
- () => instantiate(`(module (memory (import "M" "m") 0x1_0000_0000 0x1_0000_0000))`), |
| 108 |
- `memory size`, |
| 109 |
-); |
| 110 |
- |
| 111 |
-// ./test/core/memory.wast:98 |
| 112 |
-assert_invalid( |
| 113 |
- () => instantiate(`(module (memory (import "M" "m") 0 0x1_0000_0000))`), |
| 114 |
- `memory size`, |
| 115 |
-); |
| 116 |
|
| 117 |
// ./test/core/memory.wast:89 |
| 118 |
let $9 = instantiate(`(module |
| 119 |
(memory 1) |
| 120 |
diff --git a/js/src/jit-test/tests/wasm/spec/memory64/simd_address.wast.js b/js/src/jit-test/tests/wasm/spec/memory64/simd_address.wast.js |
| 121 |
--- a/js/src/jit-test/tests/wasm/spec/memory64/simd_address.wast.js |
| 122 |
+++ b/js/src/jit-test/tests/wasm/spec/memory64/simd_address.wast.js |
| 123 |
@@ -1,3 +1,5 @@ |
| 124 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 125 |
+ |
| 126 |
/* Copyright 2021 Mozilla Foundation |
| 127 |
* |
| 128 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 129 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/ref_null.wast.js b/js/src/jit-test/tests/wasm/spec/spec/ref_null.wast.js |
| 130 |
--- a/js/src/jit-test/tests/wasm/spec/spec/ref_null.wast.js |
| 131 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/ref_null.wast.js |
| 132 |
@@ -37,8 +37,9 @@ assert_return(() => invoke($0, `anyref`, []), [value('anyref', null)]); |
| 133 |
// ./test/core/ref_null.wast:17 |
| 134 |
assert_return(() => invoke($0, `funcref`, []), [value('anyfunc', null)]); |
| 135 |
|
| 136 |
-// ./test/core/ref_null.wast:18 |
| 137 |
-assert_return(() => invoke($0, `exnref`, []), [value('exnref', null)]); |
| 138 |
+// exnref values are not exportable to JS |
| 139 |
+// // ./test/core/ref_null.wast:18 |
| 140 |
+// assert_return(() => invoke($0, `exnref`, []), [value('exnref', null)]); |
| 141 |
|
| 142 |
// ./test/core/ref_null.wast:19 |
| 143 |
assert_return(() => invoke($0, `externref`, []), [value('externref', null)]); |
| 144 |
@@ -115,23 +116,24 @@ assert_return(() => invoke($1, `nullfuncref`, []), [value('nullfuncref', null)]) |
| 145 |
// ./test/core/ref_null.wast:66 |
| 146 |
assert_return(() => invoke($1, `nullfuncref`, []), [null]); |
| 147 |
|
| 148 |
-// ./test/core/ref_null.wast:67 |
| 149 |
-assert_return(() => invoke($1, `exnref`, []), [value('exnref', null)]); |
| 150 |
- |
| 151 |
-// ./test/core/ref_null.wast:68 |
| 152 |
-assert_return(() => invoke($1, `exnref`, []), [value('nullexnref', null)]); |
| 153 |
- |
| 154 |
-// ./test/core/ref_null.wast:69 |
| 155 |
-assert_return(() => invoke($1, `exnref`, []), [null]); |
| 156 |
- |
| 157 |
-// ./test/core/ref_null.wast:70 |
| 158 |
-assert_return(() => invoke($1, `nullexnref`, []), [value('exnref', null)]); |
| 159 |
- |
| 160 |
-// ./test/core/ref_null.wast:71 |
| 161 |
-assert_return(() => invoke($1, `nullexnref`, []), [value('nullexnref', null)]); |
| 162 |
- |
| 163 |
-// ./test/core/ref_null.wast:72 |
| 164 |
-assert_return(() => invoke($1, `nullexnref`, []), [null]); |
| 165 |
+// exnref values are not exportable to JS |
| 166 |
+// // ./test/core/ref_null.wast:67 |
| 167 |
+// assert_return(() => invoke($1, `exnref`, []), [value('exnref', null)]); |
| 168 |
+// |
| 169 |
+// // ./test/core/ref_null.wast:68 |
| 170 |
+// assert_return(() => invoke($1, `exnref`, []), [value('nullexnref', null)]); |
| 171 |
+// |
| 172 |
+// // ./test/core/ref_null.wast:69 |
| 173 |
+// assert_return(() => invoke($1, `exnref`, []), [null]); |
| 174 |
+// |
| 175 |
+// // ./test/core/ref_null.wast:70 |
| 176 |
+// assert_return(() => invoke($1, `nullexnref`, []), [value('exnref', null)]); |
| 177 |
+// |
| 178 |
+// // ./test/core/ref_null.wast:71 |
| 179 |
+// assert_return(() => invoke($1, `nullexnref`, []), [value('nullexnref', null)]); |
| 180 |
+// |
| 181 |
+// // ./test/core/ref_null.wast:72 |
| 182 |
+// assert_return(() => invoke($1, `nullexnref`, []), [null]); |
| 183 |
|
| 184 |
// ./test/core/ref_null.wast:73 |
| 185 |
assert_return(() => invoke($1, `externref`, []), [value('externref', null)]); |
| 186 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_address.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_address.wast.js |
| 187 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_address.wast.js |
| 188 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_address.wast.js |
| 189 |
@@ -1,3 +1,5 @@ |
| 190 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 191 |
+ |
| 192 |
/* Copyright 2021 Mozilla Foundation |
| 193 |
* |
| 194 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 195 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_bit_shift.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_bit_shift.wast.js |
| 196 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_bit_shift.wast.js |
| 197 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_bit_shift.wast.js |
| 198 |
@@ -1,3 +1,5 @@ |
| 199 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 200 |
+ |
| 201 |
/* Copyright 2021 Mozilla Foundation |
| 202 |
* |
| 203 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 204 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_bitwise.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_bitwise.wast.js |
| 205 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_bitwise.wast.js |
| 206 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_bitwise.wast.js |
| 207 |
@@ -1,3 +1,5 @@ |
| 208 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 209 |
+ |
| 210 |
/* Copyright 2021 Mozilla Foundation |
| 211 |
* |
| 212 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 213 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_boolean.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_boolean.wast.js |
| 214 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_boolean.wast.js |
| 215 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_boolean.wast.js |
| 216 |
@@ -1,3 +1,5 @@ |
| 217 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 218 |
+ |
| 219 |
/* Copyright 2021 Mozilla Foundation |
| 220 |
* |
| 221 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 222 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_const.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_const.wast.js |
| 223 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_const.wast.js |
| 224 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_const.wast.js |
| 225 |
@@ -1,3 +1,5 @@ |
| 226 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 227 |
+ |
| 228 |
/* Copyright 2021 Mozilla Foundation |
| 229 |
* |
| 230 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 231 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_conversions.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_conversions.wast.js |
| 232 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_conversions.wast.js |
| 233 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_conversions.wast.js |
| 234 |
@@ -1,3 +1,5 @@ |
| 235 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 236 |
+ |
| 237 |
/* Copyright 2021 Mozilla Foundation |
| 238 |
* |
| 239 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 240 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4.wast.js |
| 241 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4.wast.js |
| 242 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4.wast.js |
| 243 |
@@ -1,3 +1,5 @@ |
| 244 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 245 |
+ |
| 246 |
/* Copyright 2021 Mozilla Foundation |
| 247 |
* |
| 248 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 249 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_arith.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_arith.wast.js |
| 250 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_arith.wast.js |
| 251 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_arith.wast.js |
| 252 |
@@ -1,3 +1,5 @@ |
| 253 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 254 |
+ |
| 255 |
/* Copyright 2021 Mozilla Foundation |
| 256 |
* |
| 257 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 258 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_cmp.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_cmp.wast.js |
| 259 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_cmp.wast.js |
| 260 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_cmp.wast.js |
| 261 |
@@ -1,3 +1,5 @@ |
| 262 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 263 |
+ |
| 264 |
/* Copyright 2021 Mozilla Foundation |
| 265 |
* |
| 266 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 267 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_pmin_pmax.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_pmin_pmax.wast.js |
| 268 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_pmin_pmax.wast.js |
| 269 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_pmin_pmax.wast.js |
| 270 |
@@ -1,3 +1,5 @@ |
| 271 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 272 |
+ |
| 273 |
/* Copyright 2021 Mozilla Foundation |
| 274 |
* |
| 275 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 276 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_rounding.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_rounding.wast.js |
| 277 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_rounding.wast.js |
| 278 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_rounding.wast.js |
| 279 |
@@ -1,3 +1,5 @@ |
| 280 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 281 |
+ |
| 282 |
/* Copyright 2021 Mozilla Foundation |
| 283 |
* |
| 284 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 285 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2.wast.js |
| 286 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2.wast.js |
| 287 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2.wast.js |
| 288 |
@@ -1,3 +1,5 @@ |
| 289 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 290 |
+ |
| 291 |
/* Copyright 2021 Mozilla Foundation |
| 292 |
* |
| 293 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 294 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_arith.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_arith.wast.js |
| 295 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_arith.wast.js |
| 296 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_arith.wast.js |
| 297 |
@@ -1,3 +1,5 @@ |
| 298 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 299 |
+ |
| 300 |
/* Copyright 2021 Mozilla Foundation |
| 301 |
* |
| 302 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 303 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_cmp.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_cmp.wast.js |
| 304 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_cmp.wast.js |
| 305 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_cmp.wast.js |
| 306 |
@@ -1,3 +1,5 @@ |
| 307 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 308 |
+ |
| 309 |
/* Copyright 2021 Mozilla Foundation |
| 310 |
* |
| 311 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 312 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_pmin_pmax.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_pmin_pmax.wast.js |
| 313 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_pmin_pmax.wast.js |
| 314 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_pmin_pmax.wast.js |
| 315 |
@@ -1,3 +1,5 @@ |
| 316 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 317 |
+ |
| 318 |
/* Copyright 2021 Mozilla Foundation |
| 319 |
* |
| 320 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 321 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_rounding.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_rounding.wast.js |
| 322 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_rounding.wast.js |
| 323 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_rounding.wast.js |
| 324 |
@@ -1,3 +1,5 @@ |
| 325 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 326 |
+ |
| 327 |
/* Copyright 2021 Mozilla Foundation |
| 328 |
* |
| 329 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 330 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith.wast.js |
| 331 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith.wast.js |
| 332 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith.wast.js |
| 333 |
@@ -1,3 +1,5 @@ |
| 334 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 335 |
+ |
| 336 |
/* Copyright 2021 Mozilla Foundation |
| 337 |
* |
| 338 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 339 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith2.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith2.wast.js |
| 340 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith2.wast.js |
| 341 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith2.wast.js |
| 342 |
@@ -1,3 +1,5 @@ |
| 343 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 344 |
+ |
| 345 |
/* Copyright 2021 Mozilla Foundation |
| 346 |
* |
| 347 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 348 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_cmp.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_cmp.wast.js |
| 349 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_cmp.wast.js |
| 350 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_cmp.wast.js |
| 351 |
@@ -1,3 +1,5 @@ |
| 352 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 353 |
+ |
| 354 |
/* Copyright 2021 Mozilla Foundation |
| 355 |
* |
| 356 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 357 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extadd_pairwise_i8x16.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extadd_pairwise_i8x16.wast.js |
| 358 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extadd_pairwise_i8x16.wast.js |
| 359 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extadd_pairwise_i8x16.wast.js |
| 360 |
@@ -1,3 +1,5 @@ |
| 361 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 362 |
+ |
| 363 |
/* Copyright 2021 Mozilla Foundation |
| 364 |
* |
| 365 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 366 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extmul_i8x16.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extmul_i8x16.wast.js |
| 367 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extmul_i8x16.wast.js |
| 368 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extmul_i8x16.wast.js |
| 369 |
@@ -1,3 +1,5 @@ |
| 370 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 371 |
+ |
| 372 |
/* Copyright 2021 Mozilla Foundation |
| 373 |
* |
| 374 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 375 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_q15mulr_sat_s.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_q15mulr_sat_s.wast.js |
| 376 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_q15mulr_sat_s.wast.js |
| 377 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_q15mulr_sat_s.wast.js |
| 378 |
@@ -1,3 +1,5 @@ |
| 379 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 380 |
+ |
| 381 |
/* Copyright 2021 Mozilla Foundation |
| 382 |
* |
| 383 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 384 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_sat_arith.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_sat_arith.wast.js |
| 385 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_sat_arith.wast.js |
| 386 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_sat_arith.wast.js |
| 387 |
@@ -1,3 +1,5 @@ |
| 388 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 389 |
+ |
| 390 |
/* Copyright 2021 Mozilla Foundation |
| 391 |
* |
| 392 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 393 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith.wast.js |
| 394 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith.wast.js |
| 395 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith.wast.js |
| 396 |
@@ -1,3 +1,5 @@ |
| 397 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 398 |
+ |
| 399 |
/* Copyright 2021 Mozilla Foundation |
| 400 |
* |
| 401 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 402 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith2.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith2.wast.js |
| 403 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith2.wast.js |
| 404 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith2.wast.js |
| 405 |
@@ -1,3 +1,5 @@ |
| 406 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 407 |
+ |
| 408 |
/* Copyright 2021 Mozilla Foundation |
| 409 |
* |
| 410 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 411 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_cmp.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_cmp.wast.js |
| 412 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_cmp.wast.js |
| 413 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_cmp.wast.js |
| 414 |
@@ -1,3 +1,5 @@ |
| 415 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 416 |
+ |
| 417 |
/* Copyright 2021 Mozilla Foundation |
| 418 |
* |
| 419 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 420 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_dot_i16x8.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_dot_i16x8.wast.js |
| 421 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_dot_i16x8.wast.js |
| 422 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_dot_i16x8.wast.js |
| 423 |
@@ -1,3 +1,5 @@ |
| 424 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 425 |
+ |
| 426 |
/* Copyright 2021 Mozilla Foundation |
| 427 |
* |
| 428 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 429 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extadd_pairwise_i16x8.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extadd_pairwise_i16x8.wast.js |
| 430 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extadd_pairwise_i16x8.wast.js |
| 431 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extadd_pairwise_i16x8.wast.js |
| 432 |
@@ -1,3 +1,5 @@ |
| 433 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 434 |
+ |
| 435 |
/* Copyright 2021 Mozilla Foundation |
| 436 |
* |
| 437 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 438 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extmul_i16x8.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extmul_i16x8.wast.js |
| 439 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extmul_i16x8.wast.js |
| 440 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extmul_i16x8.wast.js |
| 441 |
@@ -1,3 +1,5 @@ |
| 442 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 443 |
+ |
| 444 |
/* Copyright 2021 Mozilla Foundation |
| 445 |
* |
| 446 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 447 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f32x4.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f32x4.wast.js |
| 448 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f32x4.wast.js |
| 449 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f32x4.wast.js |
| 450 |
@@ -1,3 +1,5 @@ |
| 451 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 452 |
+ |
| 453 |
/* Copyright 2021 Mozilla Foundation |
| 454 |
* |
| 455 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 456 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f64x2.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f64x2.wast.js |
| 457 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f64x2.wast.js |
| 458 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f64x2.wast.js |
| 459 |
@@ -1,3 +1,5 @@ |
| 460 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 461 |
+ |
| 462 |
/* Copyright 2021 Mozilla Foundation |
| 463 |
* |
| 464 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 465 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith.wast.js |
| 466 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith.wast.js |
| 467 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith.wast.js |
| 468 |
@@ -1,3 +1,5 @@ |
| 469 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 470 |
+ |
| 471 |
/* Copyright 2021 Mozilla Foundation |
| 472 |
* |
| 473 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 474 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith2.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith2.wast.js |
| 475 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith2.wast.js |
| 476 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith2.wast.js |
| 477 |
@@ -1,3 +1,5 @@ |
| 478 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 479 |
+ |
| 480 |
/* Copyright 2021 Mozilla Foundation |
| 481 |
* |
| 482 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 483 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_cmp.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_cmp.wast.js |
| 484 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_cmp.wast.js |
| 485 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_cmp.wast.js |
| 486 |
@@ -1,3 +1,5 @@ |
| 487 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 488 |
+ |
| 489 |
/* Copyright 2021 Mozilla Foundation |
| 490 |
* |
| 491 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 492 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_extmul_i32x4.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_extmul_i32x4.wast.js |
| 493 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_extmul_i32x4.wast.js |
| 494 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_extmul_i32x4.wast.js |
| 495 |
@@ -1,3 +1,5 @@ |
| 496 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 497 |
+ |
| 498 |
/* Copyright 2021 Mozilla Foundation |
| 499 |
* |
| 500 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 501 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith.wast.js |
| 502 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith.wast.js |
| 503 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith.wast.js |
| 504 |
@@ -1,3 +1,5 @@ |
| 505 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 506 |
+ |
| 507 |
/* Copyright 2021 Mozilla Foundation |
| 508 |
* |
| 509 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 510 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith2.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith2.wast.js |
| 511 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith2.wast.js |
| 512 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith2.wast.js |
| 513 |
@@ -1,3 +1,5 @@ |
| 514 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 515 |
+ |
| 516 |
/* Copyright 2021 Mozilla Foundation |
| 517 |
* |
| 518 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 519 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_cmp.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_cmp.wast.js |
| 520 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_cmp.wast.js |
| 521 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_cmp.wast.js |
| 522 |
@@ -1,3 +1,5 @@ |
| 523 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 524 |
+ |
| 525 |
/* Copyright 2021 Mozilla Foundation |
| 526 |
* |
| 527 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 528 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_sat_arith.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_sat_arith.wast.js |
| 529 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_sat_arith.wast.js |
| 530 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_sat_arith.wast.js |
| 531 |
@@ -1,3 +1,5 @@ |
| 532 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 533 |
+ |
| 534 |
/* Copyright 2021 Mozilla Foundation |
| 535 |
* |
| 536 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 537 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_int_to_int_extend.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_int_to_int_extend.wast.js |
| 538 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_int_to_int_extend.wast.js |
| 539 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_int_to_int_extend.wast.js |
| 540 |
@@ -1,3 +1,5 @@ |
| 541 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 542 |
+ |
| 543 |
/* Copyright 2021 Mozilla Foundation |
| 544 |
* |
| 545 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 546 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_lane.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_lane.wast.js |
| 547 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_lane.wast.js |
| 548 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_lane.wast.js |
| 549 |
@@ -1,3 +1,5 @@ |
| 550 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 551 |
+ |
| 552 |
/* Copyright 2021 Mozilla Foundation |
| 553 |
* |
| 554 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 555 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_linking.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_linking.wast.js |
| 556 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_linking.wast.js |
| 557 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_linking.wast.js |
| 558 |
@@ -1,3 +1,5 @@ |
| 559 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 560 |
+ |
| 561 |
/* Copyright 2021 Mozilla Foundation |
| 562 |
* |
| 563 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 564 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_load.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_load.wast.js |
| 565 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_load.wast.js |
| 566 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load.wast.js |
| 567 |
@@ -1,3 +1,5 @@ |
| 568 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 569 |
+ |
| 570 |
/* Copyright 2021 Mozilla Foundation |
| 571 |
* |
| 572 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 573 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_load16_lane.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_load16_lane.wast.js |
| 574 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_load16_lane.wast.js |
| 575 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load16_lane.wast.js |
| 576 |
@@ -1,3 +1,5 @@ |
| 577 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 578 |
+ |
| 579 |
/* Copyright 2021 Mozilla Foundation |
| 580 |
* |
| 581 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 582 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_load32_lane.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_load32_lane.wast.js |
| 583 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_load32_lane.wast.js |
| 584 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load32_lane.wast.js |
| 585 |
@@ -1,3 +1,5 @@ |
| 586 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 587 |
+ |
| 588 |
/* Copyright 2021 Mozilla Foundation |
| 589 |
* |
| 590 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 591 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_load64_lane.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_load64_lane.wast.js |
| 592 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_load64_lane.wast.js |
| 593 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load64_lane.wast.js |
| 594 |
@@ -1,3 +1,5 @@ |
| 595 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 596 |
+ |
| 597 |
/* Copyright 2021 Mozilla Foundation |
| 598 |
* |
| 599 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 600 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_load8_lane.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_load8_lane.wast.js |
| 601 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_load8_lane.wast.js |
| 602 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load8_lane.wast.js |
| 603 |
@@ -1,3 +1,5 @@ |
| 604 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 605 |
+ |
| 606 |
/* Copyright 2021 Mozilla Foundation |
| 607 |
* |
| 608 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 609 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_load_extend.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_load_extend.wast.js |
| 610 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_load_extend.wast.js |
| 611 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load_extend.wast.js |
| 612 |
@@ -1,3 +1,5 @@ |
| 613 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 614 |
+ |
| 615 |
/* Copyright 2021 Mozilla Foundation |
| 616 |
* |
| 617 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 618 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_load_splat.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_load_splat.wast.js |
| 619 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_load_splat.wast.js |
| 620 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load_splat.wast.js |
| 621 |
@@ -1,3 +1,5 @@ |
| 622 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 623 |
+ |
| 624 |
/* Copyright 2021 Mozilla Foundation |
| 625 |
* |
| 626 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 627 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_load_zero.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_load_zero.wast.js |
| 628 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_load_zero.wast.js |
| 629 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load_zero.wast.js |
| 630 |
@@ -1,3 +1,5 @@ |
| 631 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 632 |
+ |
| 633 |
/* Copyright 2021 Mozilla Foundation |
| 634 |
* |
| 635 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 636 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_memory-multi.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_memory-multi.wast.js |
| 637 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_memory-multi.wast.js |
| 638 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_memory-multi.wast.js |
| 639 |
@@ -1,3 +1,5 @@ |
| 640 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 641 |
+ |
| 642 |
/* Copyright 2021 Mozilla Foundation |
| 643 |
* |
| 644 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 645 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_splat.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_splat.wast.js |
| 646 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_splat.wast.js |
| 647 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_splat.wast.js |
| 648 |
@@ -1,3 +1,5 @@ |
| 649 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 650 |
+ |
| 651 |
/* Copyright 2021 Mozilla Foundation |
| 652 |
* |
| 653 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 654 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_store.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_store.wast.js |
| 655 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_store.wast.js |
| 656 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store.wast.js |
| 657 |
@@ -1,3 +1,5 @@ |
| 658 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 659 |
+ |
| 660 |
/* Copyright 2021 Mozilla Foundation |
| 661 |
* |
| 662 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 663 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_store16_lane.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_store16_lane.wast.js |
| 664 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_store16_lane.wast.js |
| 665 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store16_lane.wast.js |
| 666 |
@@ -1,3 +1,5 @@ |
| 667 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 668 |
+ |
| 669 |
/* Copyright 2021 Mozilla Foundation |
| 670 |
* |
| 671 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 672 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_store32_lane.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_store32_lane.wast.js |
| 673 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_store32_lane.wast.js |
| 674 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store32_lane.wast.js |
| 675 |
@@ -1,3 +1,5 @@ |
| 676 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 677 |
+ |
| 678 |
/* Copyright 2021 Mozilla Foundation |
| 679 |
* |
| 680 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 681 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_store64_lane.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_store64_lane.wast.js |
| 682 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_store64_lane.wast.js |
| 683 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store64_lane.wast.js |
| 684 |
@@ -1,3 +1,5 @@ |
| 685 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 686 |
+ |
| 687 |
/* Copyright 2021 Mozilla Foundation |
| 688 |
* |
| 689 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 690 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_store8_lane.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_store8_lane.wast.js |
| 691 |
--- a/js/src/jit-test/tests/wasm/spec/spec/simd_store8_lane.wast.js |
| 692 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store8_lane.wast.js |
| 693 |
@@ -1,3 +1,5 @@ |
| 694 |
+// |jit-test| skip-if: !wasmSimdEnabled() |
| 695 |
+ |
| 696 |
/* Copyright 2021 Mozilla Foundation |
| 697 |
* |
| 698 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 699 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/i8x16_relaxed_swizzle.wast.js b/js/src/jit-test/tests/wasm/spec/spec/i8x16_relaxed_swizzle.wast.js |
| 700 |
--- a/js/src/jit-test/tests/wasm/spec/spec/i8x16_relaxed_swizzle.wast.js |
| 701 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/i8x16_relaxed_swizzle.wast.js |
| 702 |
@@ -1,3 +1,4 @@ |
| 703 |
+// |jit-test| --setpref=wasm_relaxed_simd=true; skip-if: !wasmRelaxedSimdEnabled() |
| 704 |
/* Copyright 2021 Mozilla Foundation |
| 705 |
* |
| 706 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 707 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/i16x8_relaxed_q15mulr_s.wast.js b/js/src/jit-test/tests/wasm/spec/spec/i16x8_relaxed_q15mulr_s.wast.js |
| 708 |
--- a/js/src/jit-test/tests/wasm/spec/spec/i16x8_relaxed_q15mulr_s.wast.js |
| 709 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/i16x8_relaxed_q15mulr_s.wast.js |
| 710 |
@@ -1,3 +1,4 @@ |
| 711 |
+// |jit-test| --setpref=wasm_relaxed_simd=true; skip-if: !wasmRelaxedSimdEnabled() |
| 712 |
/* Copyright 2021 Mozilla Foundation |
| 713 |
* |
| 714 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 715 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/i32x4_relaxed_trunc.wast.js b/js/src/jit-test/tests/wasm/spec/spec/i32x4_relaxed_trunc.wast.js |
| 716 |
--- a/js/src/jit-test/tests/wasm/spec/spec/i32x4_relaxed_trunc.wast.js |
| 717 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/i32x4_relaxed_trunc.wast.js |
| 718 |
@@ -1,3 +1,4 @@ |
| 719 |
+// |jit-test| --setpref=wasm_relaxed_simd=true; skip-if: !wasmRelaxedSimdEnabled() |
| 720 |
/* Copyright 2021 Mozilla Foundation |
| 721 |
* |
| 722 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 723 |
@@ -92,6 +92,7 @@ assert_return( |
| 724 |
either( |
| 725 |
i32x4([0x0, 0x0, 0xffffff00, 0xffffffff]), |
| 726 |
i32x4([0x0, 0xffffffff, 0xffffff00, 0xffffffff]), |
| 727 |
+ i32x4([0x0, 0xffffffff, 0xffffff00, 0x0]), |
| 728 |
), |
| 729 |
], |
| 730 |
); |
| 731 |
@@ -122,6 +123,7 @@ assert_return( |
| 732 |
either( |
| 733 |
i32x4([0x0, 0x0, 0x0, 0x0]), |
| 734 |
i32x4([0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff]), |
| 735 |
+ i32x4([0x80000000, 0x80000000, 0x80000000, 0x80000000]), |
| 736 |
), |
| 737 |
], |
| 738 |
); |
| 739 |
@@ -173,6 +175,7 @@ assert_return( |
| 740 |
either( |
| 741 |
i32x4([0x0, 0xffffffff, 0x0, 0x0]), |
| 742 |
i32x4([0xffffffff, 0xffffffff, 0x0, 0x0]), |
| 743 |
+ i32x4([0xfffffffe, 0x0, 0x0, 0x0]), |
| 744 |
), |
| 745 |
], |
| 746 |
); |
| 747 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/relaxed_dot_product.wast.js b/js/src/jit-test/tests/wasm/spec/spec/relaxed_dot_product.wast.js |
| 748 |
--- a/js/src/jit-test/tests/wasm/spec/spec/relaxed_dot_product.wast.js |
| 749 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/relaxed_dot_product.wast.js |
| 750 |
@@ -1,3 +1,4 @@ |
| 751 |
+// |jit-test| --setpref=wasm_relaxed_simd=true; skip-if: !wasmRelaxedSimdEnabled() |
| 752 |
/* Copyright 2021 Mozilla Foundation |
| 753 |
* |
| 754 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 755 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/relaxed_laneselect.wast.js b/js/src/jit-test/tests/wasm/spec/spec/relaxed_laneselect.wast.js |
| 756 |
--- a/js/src/jit-test/tests/wasm/spec/spec/relaxed_laneselect.wast.js |
| 757 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/relaxed_laneselect.wast.js |
| 758 |
@@ -1,3 +1,4 @@ |
| 759 |
+// |jit-test| --setpref=wasm_relaxed_simd=true; skip-if: !wasmRelaxedSimdEnabled() |
| 760 |
/* Copyright 2021 Mozilla Foundation |
| 761 |
* |
| 762 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 763 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/relaxed_madd_nmadd.wast.js b/js/src/jit-test/tests/wasm/spec/spec/relaxed_madd_nmadd.wast.js |
| 764 |
--- a/js/src/jit-test/tests/wasm/spec/spec/relaxed_madd_nmadd.wast.js |
| 765 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/relaxed_madd_nmadd.wast.js |
| 766 |
@@ -1,3 +1,4 @@ |
| 767 |
+// |jit-test| --setpref=wasm_relaxed_simd=true; skip-if: !wasmRelaxedSimdEnabled() |
| 768 |
/* Copyright 2021 Mozilla Foundation |
| 769 |
* |
| 770 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 771 |
diff --git a/js/src/jit-test/tests/wasm/spec/spec/relaxed_min_max.wast.js b/js/src/jit-test/tests/wasm/spec/spec/relaxed_min_max.wast.js |
| 772 |
--- a/js/src/jit-test/tests/wasm/spec/spec/relaxed_min_max.wast.js |
| 773 |
+++ b/js/src/jit-test/tests/wasm/spec/spec/relaxed_min_max.wast.js |
| 774 |
@@ -1,3 +1,4 @@ |
| 775 |
+// |jit-test| --setpref=wasm_relaxed_simd=true; skip-if: !wasmRelaxedSimdEnabled() |
| 776 |
/* Copyright 2021 Mozilla Foundation |
| 777 |
* |
| 778 |
* Licensed under the Apache License, Version 2.0 (the "License"); |