spec-tests.patch (51219B)
1 diff --git a/js/src/jit-test/tests/wasm/spec/spec/align.wast.js b/js/src/jit-test/tests/wasm/spec/spec/align.wast.js 2 --- a/js/src/jit-test/tests/wasm/spec/spec/align.wast.js 3 +++ b/js/src/jit-test/tests/wasm/spec/spec/align.wast.js 4 @@ -1076,11 +1076,13 @@ let $24 = instantiate(`(module 5 ) 6 )`); 7 8 -// ./test/core/align.wast:864 9 -assert_trap(() => invoke($24, `store`, [65532, -1n]), `out of bounds memory access`); 10 +if (!partialOobWriteMayWritePartialData()) { 11 + // ./test/core/align.wast:864 12 + assert_trap(() => invoke($24, `store`, [65532, -1n]), `out of bounds memory access`); 13 14 -// ./test/core/align.wast:866 15 -assert_return(() => invoke($24, `load`, [65532]), [value("i32", 0)]); 16 + // ./test/core/align.wast:866 17 + assert_return(() => invoke($24, `load`, [65532]), [value("i32", 0)]); 18 +} 19 20 // ./test/core/align.wast:872 21 assert_invalid( 22 @@ -1215,28 +1217,29 @@ assert_malformed( 23 `malformed memop flags`, 24 ); 25 26 -// ./test/core/align.wast:1004 27 -assert_invalid( 28 - () => instantiate(`(module 29 - (memory 1) 30 - (func 31 - i32.const 0 32 - i32.load offset=0xFFFF_FFFF_FFFF_FFFF 33 - drop 34 - ) 35 - )`), 36 - `offset out of range`, 37 -); 38 - 39 -// ./test/core/align.wast:1016 40 -assert_invalid( 41 - () => instantiate(`(module 42 - (memory 1) 43 - (func 44 - i32.const 0 45 - i32.load offset=0xFFFF_FFFF_FFFF_FFFF align=0x8000_0000_0000_0000 46 - drop 47 - ) 48 - )`), 49 - `alignment must not be larger than natural`, 50 -); 51 +// Suppressed because wasm-tools cannot parse these offsets. 52 +// // ./test/core/align.wast:1004 53 +// assert_invalid( 54 +// () => instantiate(`(module 55 +// (memory 1) 56 +// (func 57 +// i32.const 0 58 +// i32.load offset=0xFFFF_FFFF_FFFF_FFFF 59 +// drop 60 +// ) 61 +// )`), 62 +// `offset out of range`, 63 +// ); 64 +// 65 +// // ./test/core/align.wast:1016 66 +// assert_invalid( 67 +// () => instantiate(`(module 68 +// (memory 1) 69 +// (func 70 +// i32.const 0 71 +// i32.load offset=0xFFFF_FFFF_FFFF_FFFF align=0x8000_0000_0000_0000 72 +// drop 73 +// ) 74 +// )`), 75 +// `alignment must not be larger than natural`, 76 +// ); 77 diff --git a/js/src/jit-test/tests/wasm/spec/spec/align64.wast.js b/js/src/jit-test/tests/wasm/spec/spec/align64.wast.js 78 --- a/js/src/jit-test/tests/wasm/spec/spec/align64.wast.js 79 +++ b/js/src/jit-test/tests/wasm/spec/spec/align64.wast.js 80 @@ -1076,18 +1076,23 @@ let $24 = instantiate(`(module 81 ) 82 )`); 83 84 -// ./test/core/memory64/align64.wast:864 85 -assert_trap(() => invoke($24, `store`, [65532n, -1n]), `out of bounds memory access`); 86 - 87 -// ./test/core/memory64/align64.wast:866 88 -assert_return(() => invoke($24, `load`, [65532n]), [value("i32", 0)]); 89 - 90 -// ./test/core/memory64/align64.wast:869 91 -let $25 = instantiate(`(module 92 - (memory i64 1) 93 - (func 94 - i64.const 0 95 - i32.load offset=0xFFFF_FFFF_FFFF_FFFF 96 - drop 97 - ) 98 -)`); 99 +// Bug 1737225 - do not observe the partial store caused by bug 1666747 on 100 +// some native platforms. 101 +if (!partialOobWriteMayWritePartialData()) { 102 + // ./test/core/memory64/align64.wast:864 103 + assert_trap(() => invoke($24, `store`, [65532n, -1n]), `out of bounds memory access`); 104 + 105 + // ./test/core/memory64/align64.wast:866 106 + assert_return(() => invoke($24, `load`, [65532n]), [value("i32", 0)]); 107 +} 108 + 109 +// Suppressed because wasm-tools cannot parse this offset. 110 +// // ./test/core/memory64/align64.wast:869 111 +// let $25 = instantiate(`(module 112 +// (memory i64 1) 113 +// (func 114 +// i64.const 0 115 +// i32.load offset=0xFFFF_FFFF_FFFF_FFFF 116 +// drop 117 +// ) 118 +// )`); 119 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 120 --- a/js/src/jit-test/tests/wasm/spec/spec/i16x8_relaxed_q15mulr_s.wast.js 121 +++ b/js/src/jit-test/tests/wasm/spec/spec/i16x8_relaxed_q15mulr_s.wast.js 122 @@ -1,3 +1,4 @@ 123 +// |jit-test| skip-if: !wasmRelaxedSimdEnabled() 124 /* Copyright 2021 Mozilla Foundation 125 * 126 * Licensed under the Apache License, Version 2.0 (the "License"); 127 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 128 --- a/js/src/jit-test/tests/wasm/spec/spec/i32x4_relaxed_trunc.wast.js 129 +++ b/js/src/jit-test/tests/wasm/spec/spec/i32x4_relaxed_trunc.wast.js 130 @@ -1,3 +1,4 @@ 131 +// |jit-test| skip-if: !wasmRelaxedSimdEnabled() 132 /* Copyright 2021 Mozilla Foundation 133 * 134 * Licensed under the Apache License, Version 2.0 (the "License"); 135 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 136 --- a/js/src/jit-test/tests/wasm/spec/spec/i8x16_relaxed_swizzle.wast.js 137 +++ b/js/src/jit-test/tests/wasm/spec/spec/i8x16_relaxed_swizzle.wast.js 138 @@ -1,3 +1,4 @@ 139 +// |jit-test| skip-if: !wasmRelaxedSimdEnabled() 140 /* Copyright 2021 Mozilla Foundation 141 * 142 * Licensed under the Apache License, Version 2.0 (the "License"); 143 diff --git a/js/src/jit-test/tests/wasm/spec/spec/memory.wast.js b/js/src/jit-test/tests/wasm/spec/spec/memory.wast.js 144 --- a/js/src/jit-test/tests/wasm/spec/spec/memory.wast.js 145 +++ b/js/src/jit-test/tests/wasm/spec/spec/memory.wast.js 146 @@ -123,36 +123,6 @@ assert_invalid(() => instantiate(`(module (memory 0 2147483648))`), `memory size 147 // ./test/core/memory.wast:72 148 assert_invalid(() => instantiate(`(module (memory 0 4294967295))`), `memory size`); 149 150 -// ./test/core/memory.wast:77 151 -assert_invalid(() => instantiate(`(module (memory 0x1_0000_0000))`), `memory size`); 152 - 153 -// ./test/core/memory.wast:81 154 -assert_invalid( 155 - () => instantiate(`(module (memory 0x1_0000_0000 0x1_0000_0000))`), 156 - `memory size`, 157 -); 158 - 159 -// ./test/core/memory.wast:85 160 -assert_invalid(() => instantiate(`(module (memory 0 0x1_0000_0000))`), `memory size`); 161 - 162 -// ./test/core/memory.wast:90 163 -assert_invalid( 164 - () => instantiate(`(module (memory (import "M" "m") 0x1_0000_0000))`), 165 - `memory size`, 166 -); 167 - 168 -// ./test/core/memory.wast:94 169 -assert_invalid( 170 - () => instantiate(`(module (memory (import "M" "m") 0x1_0000_0000 0x1_0000_0000))`), 171 - `memory size`, 172 -); 173 - 174 -// ./test/core/memory.wast:98 175 -assert_invalid( 176 - () => instantiate(`(module (memory (import "M" "m") 0 0x1_0000_0000))`), 177 - `memory size`, 178 -); 179 - 180 // ./test/core/memory.wast:103 181 let $9 = instantiate(`(module 182 (memory 1) 183 diff --git a/js/src/jit-test/tests/wasm/spec/spec/memory_trap.wast.js b/js/src/jit-test/tests/wasm/spec/spec/memory_trap.wast.js 184 --- a/js/src/jit-test/tests/wasm/spec/spec/memory_trap.wast.js 185 +++ b/js/src/jit-test/tests/wasm/spec/spec/memory_trap.wast.js 186 @@ -620,11 +620,13 @@ assert_trap(() => invoke($1, `i64.load32_u`, [-3]), `out of bounds memory access 187 // ./test/core/memory_trap.wast:266 188 assert_trap(() => invoke($1, `i64.load32_u`, [-4]), `out of bounds memory access`); 189 190 -// ./test/core/memory_trap.wast:269 191 -assert_return(() => invoke($1, `i64.load`, [65528]), [value("i64", 7523094288207667809n)]); 192 +if (!partialOobWriteMayWritePartialData()) { 193 + // ./test/core/memory_trap.wast:269 194 + assert_return(() => invoke($1, `i64.load`, [65528]), [value("i64", 7523094288207667809n)]); 195 196 -// ./test/core/memory_trap.wast:270 197 -assert_return(() => invoke($1, `i64.load`, [0]), [value("i64", 7523094288207667809n)]); 198 + // ./test/core/memory_trap.wast:270 199 + assert_return(() => invoke($1, `i64.load`, [0]), [value("i64", 7523094288207667809n)]); 200 +} 201 202 // ./test/core/memory_trap.wast:274 203 assert_return(() => invoke($1, `i64.store`, [65528, 0n]), []); 204 @@ -632,14 +634,18 @@ assert_return(() => invoke($1, `i64.store`, [65528, 0n]), []); 205 // ./test/core/memory_trap.wast:275 206 assert_trap(() => invoke($1, `i32.store`, [65533, 305419896]), `out of bounds memory access`); 207 208 -// ./test/core/memory_trap.wast:276 209 -assert_return(() => invoke($1, `i32.load`, [65532]), [value("i32", 0)]); 210 +if (!partialOobWriteMayWritePartialData()) { 211 + // ./test/core/memory_trap.wast:276 212 + assert_return(() => invoke($1, `i32.load`, [65532]), [value("i32", 0)]); 213 +} 214 215 // ./test/core/memory_trap.wast:277 216 assert_trap(() => invoke($1, `i64.store`, [65529, 1311768467294899695n]), `out of bounds memory access`); 217 218 -// ./test/core/memory_trap.wast:278 219 -assert_return(() => invoke($1, `i64.load`, [65528]), [value("i64", 0n)]); 220 +if (!partialOobWriteMayWritePartialData()) { 221 + // ./test/core/memory_trap.wast:278 222 + assert_return(() => invoke($1, `i64.load`, [65528]), [value("i64", 0n)]); 223 +} 224 225 // ./test/core/memory_trap.wast:279 226 assert_trap( 227 @@ -647,8 +653,10 @@ assert_trap( 228 `out of bounds memory access`, 229 ); 230 231 -// ./test/core/memory_trap.wast:280 232 -assert_return(() => invoke($1, `f32.load`, [65532]), [value("f32", 0)]); 233 +if (!partialOobWriteMayWritePartialData()) { 234 + // ./test/core/memory_trap.wast:280 235 + assert_return(() => invoke($1, `f32.load`, [65532]), [value("f32", 0)]); 236 +} 237 238 // ./test/core/memory_trap.wast:281 239 assert_trap( 240 @@ -656,5 +664,7 @@ assert_trap( 241 `out of bounds memory access`, 242 ); 243 244 -// ./test/core/memory_trap.wast:282 245 -assert_return(() => invoke($1, `f64.load`, [65528]), [value("f64", 0)]); 246 +if (!partialOobWriteMayWritePartialData()) { 247 + // ./test/core/memory_trap.wast:282 248 + assert_return(() => invoke($1, `f64.load`, [65528]), [value("f64", 0)]); 249 +} 250 diff --git a/js/src/jit-test/tests/wasm/spec/spec/memory_trap1.wast.js b/js/src/jit-test/tests/wasm/spec/spec/memory_trap1.wast.js 251 --- a/js/src/jit-test/tests/wasm/spec/spec/memory_trap1.wast.js 252 +++ b/js/src/jit-test/tests/wasm/spec/spec/memory_trap1.wast.js 253 @@ -562,11 +562,13 @@ assert_trap(() => invoke($0, `i64.load32_u`, [-3]), `out of bounds memory access 254 // ./test/core/multi-memory/memory_trap1.wast:234 255 assert_trap(() => invoke($0, `i64.load32_u`, [-4]), `out of bounds memory access`); 256 257 -// ./test/core/multi-memory/memory_trap1.wast:237 258 -assert_return(() => invoke($0, `i64.load`, [65528]), [value("i64", 7523094288207667809n)]); 259 +if (!partialOobWriteMayWritePartialData()) { 260 + // ./test/core/multi-memory/memory_trap1.wast:237 261 + assert_return(() => invoke($0, `i64.load`, [65528]), [value("i64", 7523094288207667809n)]); 262 263 -// ./test/core/multi-memory/memory_trap1.wast:238 264 -assert_return(() => invoke($0, `i64.load`, [0]), [value("i64", 7523094288207667809n)]); 265 + // ./test/core/multi-memory/memory_trap1.wast:238 266 + assert_return(() => invoke($0, `i64.load`, [0]), [value("i64", 7523094288207667809n)]); 267 +} 268 269 // ./test/core/multi-memory/memory_trap1.wast:242 270 assert_return(() => invoke($0, `i64.store`, [65528, 0n]), []); 271 @@ -574,14 +576,18 @@ assert_return(() => invoke($0, `i64.store`, [65528, 0n]), []); 272 // ./test/core/multi-memory/memory_trap1.wast:243 273 assert_trap(() => invoke($0, `i32.store`, [65533, 305419896]), `out of bounds memory access`); 274 275 -// ./test/core/multi-memory/memory_trap1.wast:244 276 -assert_return(() => invoke($0, `i32.load`, [65532]), [value("i32", 0)]); 277 +if (!partialOobWriteMayWritePartialData()) { 278 + // ./test/core/multi-memory/memory_trap1.wast:244 279 + assert_return(() => invoke($0, `i32.load`, [65532]), [value("i32", 0)]); 280 +} 281 282 // ./test/core/multi-memory/memory_trap1.wast:245 283 assert_trap(() => invoke($0, `i64.store`, [65529, 1311768467294899695n]), `out of bounds memory access`); 284 285 -// ./test/core/multi-memory/memory_trap1.wast:246 286 -assert_return(() => invoke($0, `i64.load`, [65528]), [value("i64", 0n)]); 287 +if (!partialOobWriteMayWritePartialData()) { 288 + // ./test/core/multi-memory/memory_trap1.wast:246 289 + assert_return(() => invoke($0, `i64.load`, [65528]), [value("i64", 0n)]); 290 +} 291 292 // ./test/core/multi-memory/memory_trap1.wast:247 293 assert_trap( 294 @@ -589,8 +595,10 @@ assert_trap( 295 `out of bounds memory access`, 296 ); 297 298 -// ./test/core/multi-memory/memory_trap1.wast:248 299 -assert_return(() => invoke($0, `f32.load`, [65532]), [value("f32", 0)]); 300 +if (!partialOobWriteMayWritePartialData()) { 301 + // ./test/core/multi-memory/memory_trap1.wast:248 302 + assert_return(() => invoke($0, `f32.load`, [65532]), [value("f32", 0)]); 303 +} 304 305 // ./test/core/multi-memory/memory_trap1.wast:249 306 assert_trap( 307 @@ -598,5 +606,7 @@ assert_trap( 308 `out of bounds memory access`, 309 ); 310 311 -// ./test/core/multi-memory/memory_trap1.wast:250 312 -assert_return(() => invoke($0, `f64.load`, [65528]), [value("f64", 0)]); 313 +if (!partialOobWriteMayWritePartialData()) { 314 + // ./test/core/multi-memory/memory_trap1.wast:250 315 + assert_return(() => invoke($0, `f64.load`, [65528]), [value("f64", 0)]); 316 +} 317 diff --git a/js/src/jit-test/tests/wasm/spec/spec/memory_trap64.wast.js b/js/src/jit-test/tests/wasm/spec/spec/memory_trap64.wast.js 318 --- a/js/src/jit-test/tests/wasm/spec/spec/memory_trap64.wast.js 319 +++ b/js/src/jit-test/tests/wasm/spec/spec/memory_trap64.wast.js 320 @@ -617,8 +617,12 @@ assert_trap(() => invoke($1, `i64.load32_u`, [-3n]), `out of bounds memory acces 321 // ./test/core/memory64/memory_trap64.wast:265 322 assert_trap(() => invoke($1, `i64.load32_u`, [-4n]), `out of bounds memory access`); 323 324 -// ./test/core/memory64/memory_trap64.wast:268 325 -assert_return(() => invoke($1, `i64.load`, [65528n]), [value("i64", 7523094288207667809n)]); 326 - 327 -// ./test/core/memory64/memory_trap64.wast:269 328 -assert_return(() => invoke($1, `i64.load`, [0n]), [value("i64", 7523094288207667809n)]); 329 +// Bug 1737225 - do not observe the partial store caused by bug 1666747 on 330 +// some native platforms. 331 +if (!partialOobWriteMayWritePartialData()) { 332 + // ./test/core/memory64/memory_trap64.wast:268 333 + assert_return(() => invoke($1, `i64.load`, [65528n]), [value("i64", 7523094288207667809n)]); 334 + 335 + // ./test/core/memory64/memory_trap64.wast:269 336 + assert_return(() => invoke($1, `i64.load`, [0n]), [value("i64", 7523094288207667809n)]); 337 +} 338 diff --git a/js/src/jit-test/tests/wasm/spec/spec/memory64.wast.js b/js/src/jit-test/tests/wasm/spec/spec/memory64.wast.js 339 --- a/js/src/jit-test/tests/wasm/spec/spec/memory64.wast.js 340 +++ b/js/src/jit-test/tests/wasm/spec/spec/memory64.wast.js 341 @@ -28,10 +28,10 @@ let $2 = instantiate(`(module (memory i64 1 256))`); 342 let $3 = instantiate(`(module (memory i64 0 65536))`); 343 344 // ./test/core/memory64/memory64.wast:8 345 -let _anon_7 = module(`(module (memory i64 0x1_0000_0000_0000))`); 346 +let _anon_7 = module(`(module (memory i64 137438953471))`); 347 348 // ./test/core/memory64/memory64.wast:9 349 -let $4 = instantiate(`(module (memory i64 0 0x1_0000_0000_0000))`); 350 +let $4 = instantiate(`(module (memory i64 0 137438953471))`); 351 352 // ./test/core/memory64/memory64.wast:11 353 let $5 = instantiate(`(module (memory i64 (data)) (func (export "memsize") (result i64) (memory.size)))`); 354 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 355 --- a/js/src/jit-test/tests/wasm/spec/spec/ref_null.wast.js 356 +++ b/js/src/jit-test/tests/wasm/spec/spec/ref_null.wast.js 357 @@ -37,8 +37,9 @@ assert_return(() => invoke($0, `anyref`, []), [value('anyref', null)]); 358 // ./test/core/ref_null.wast:17 359 assert_return(() => invoke($0, `funcref`, []), [value('anyfunc', null)]); 360 361 -// ./test/core/ref_null.wast:18 362 -assert_return(() => invoke($0, `exnref`, []), [value('exnref', null)]); 363 +// exnref values are not exportable to JS 364 +// // ./test/core/ref_null.wast:18 365 +// assert_return(() => invoke($0, `exnref`, []), [value('exnref', null)]); 366 367 // ./test/core/ref_null.wast:19 368 assert_return(() => invoke($0, `externref`, []), [value('externref', null)]); 369 @@ -115,23 +116,24 @@ assert_return(() => invoke($1, `nullfuncref`, []), [value('nullfuncref', null)]) 370 // ./test/core/ref_null.wast:66 371 assert_return(() => invoke($1, `nullfuncref`, []), [null]); 372 373 -// ./test/core/ref_null.wast:67 374 -assert_return(() => invoke($1, `exnref`, []), [value('exnref', null)]); 375 - 376 -// ./test/core/ref_null.wast:68 377 -assert_return(() => invoke($1, `exnref`, []), [value('nullexnref', null)]); 378 - 379 -// ./test/core/ref_null.wast:69 380 -assert_return(() => invoke($1, `exnref`, []), [null]); 381 - 382 -// ./test/core/ref_null.wast:70 383 -assert_return(() => invoke($1, `nullexnref`, []), [value('exnref', null)]); 384 - 385 -// ./test/core/ref_null.wast:71 386 -assert_return(() => invoke($1, `nullexnref`, []), [value('nullexnref', null)]); 387 - 388 -// ./test/core/ref_null.wast:72 389 -assert_return(() => invoke($1, `nullexnref`, []), [null]); 390 +// exnref values are not exportable to JS 391 +// // ./test/core/ref_null.wast:67 392 +// assert_return(() => invoke($1, `exnref`, []), [value('exnref', null)]); 393 +// 394 +// // ./test/core/ref_null.wast:68 395 +// assert_return(() => invoke($1, `exnref`, []), [value('nullexnref', null)]); 396 +// 397 +// // ./test/core/ref_null.wast:69 398 +// assert_return(() => invoke($1, `exnref`, []), [null]); 399 +// 400 +// // ./test/core/ref_null.wast:70 401 +// assert_return(() => invoke($1, `nullexnref`, []), [value('exnref', null)]); 402 +// 403 +// // ./test/core/ref_null.wast:71 404 +// assert_return(() => invoke($1, `nullexnref`, []), [value('nullexnref', null)]); 405 +// 406 +// // ./test/core/ref_null.wast:72 407 +// assert_return(() => invoke($1, `nullexnref`, []), [null]); 408 409 // ./test/core/ref_null.wast:73 410 assert_return(() => invoke($1, `externref`, []), [value('externref', null)]); 411 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 412 --- a/js/src/jit-test/tests/wasm/spec/spec/relaxed_dot_product.wast.js 413 +++ b/js/src/jit-test/tests/wasm/spec/spec/relaxed_dot_product.wast.js 414 @@ -1,3 +1,4 @@ 415 +// |jit-test| skip-if: !wasmRelaxedSimdEnabled() 416 /* Copyright 2021 Mozilla Foundation 417 * 418 * Licensed under the Apache License, Version 2.0 (the "License"); 419 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 420 --- a/js/src/jit-test/tests/wasm/spec/spec/relaxed_laneselect.wast.js 421 +++ b/js/src/jit-test/tests/wasm/spec/spec/relaxed_laneselect.wast.js 422 @@ -1,3 +1,4 @@ 423 +// |jit-test| skip-if: !wasmRelaxedSimdEnabled() 424 /* Copyright 2021 Mozilla Foundation 425 * 426 * Licensed under the Apache License, Version 2.0 (the "License"); 427 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 428 --- a/js/src/jit-test/tests/wasm/spec/spec/relaxed_madd_nmadd.wast.js 429 +++ b/js/src/jit-test/tests/wasm/spec/spec/relaxed_madd_nmadd.wast.js 430 @@ -1,3 +1,4 @@ 431 +// |jit-test| skip-if: !wasmRelaxedSimdEnabled() 432 /* Copyright 2021 Mozilla Foundation 433 * 434 * Licensed under the Apache License, Version 2.0 (the "License"); 435 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 436 --- a/js/src/jit-test/tests/wasm/spec/spec/relaxed_min_max.wast.js 437 +++ b/js/src/jit-test/tests/wasm/spec/spec/relaxed_min_max.wast.js 438 @@ -1,3 +1,4 @@ 439 +// |jit-test| skip-if: !wasmRelaxedSimdEnabled() 440 /* Copyright 2021 Mozilla Foundation 441 * 442 * Licensed under the Apache License, Version 2.0 (the "License"); 443 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 444 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_address.wast.js 445 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_address.wast.js 446 @@ -1,3 +1,5 @@ 447 +// |jit-test| skip-if: !wasmSimdEnabled() 448 + 449 /* Copyright 2021 Mozilla Foundation 450 * 451 * Licensed under the Apache License, Version 2.0 (the "License"); 452 diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_align.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_align.wast.js 453 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_align.wast.js 454 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_align.wast.js 455 @@ -1,3 +1,5 @@ 456 +// |jit-test| skip-if: !wasmSimdEnabled() 457 + 458 /* Copyright 2021 Mozilla Foundation 459 * 460 * Licensed under the Apache License, Version 2.0 (the "License"); 461 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 462 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_bit_shift.wast.js 463 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_bit_shift.wast.js 464 @@ -1,3 +1,5 @@ 465 +// |jit-test| skip-if: !wasmSimdEnabled() 466 + 467 /* Copyright 2021 Mozilla Foundation 468 * 469 * Licensed under the Apache License, Version 2.0 (the "License"); 470 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 471 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_bitwise.wast.js 472 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_bitwise.wast.js 473 @@ -1,3 +1,5 @@ 474 +// |jit-test| skip-if: !wasmSimdEnabled() 475 + 476 /* Copyright 2021 Mozilla Foundation 477 * 478 * Licensed under the Apache License, Version 2.0 (the "License"); 479 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 480 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_boolean.wast.js 481 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_boolean.wast.js 482 @@ -1,3 +1,5 @@ 483 +// |jit-test| skip-if: !wasmSimdEnabled() 484 + 485 /* Copyright 2021 Mozilla Foundation 486 * 487 * Licensed under the Apache License, Version 2.0 (the "License"); 488 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 489 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_const.wast.js 490 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_const.wast.js 491 @@ -1,3 +1,5 @@ 492 +// |jit-test| skip-if: !wasmSimdEnabled() 493 + 494 /* Copyright 2021 Mozilla Foundation 495 * 496 * Licensed under the Apache License, Version 2.0 (the "License"); 497 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 498 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_conversions.wast.js 499 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_conversions.wast.js 500 @@ -1,3 +1,5 @@ 501 +// |jit-test| skip-if: !wasmSimdEnabled() 502 + 503 /* Copyright 2021 Mozilla Foundation 504 * 505 * Licensed under the Apache License, Version 2.0 (the "License"); 506 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 507 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4.wast.js 508 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4.wast.js 509 @@ -1,3 +1,5 @@ 510 +// |jit-test| skip-if: !wasmSimdEnabled() 511 + 512 /* Copyright 2021 Mozilla Foundation 513 * 514 * Licensed under the Apache License, Version 2.0 (the "License"); 515 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 516 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_arith.wast.js 517 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_arith.wast.js 518 @@ -1,3 +1,5 @@ 519 +// |jit-test| skip-if: !wasmSimdEnabled() 520 + 521 /* Copyright 2021 Mozilla Foundation 522 * 523 * Licensed under the Apache License, Version 2.0 (the "License"); 524 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 525 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_cmp.wast.js 526 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_cmp.wast.js 527 @@ -1,3 +1,5 @@ 528 +// |jit-test| skip-if: !wasmSimdEnabled() 529 + 530 /* Copyright 2021 Mozilla Foundation 531 * 532 * Licensed under the Apache License, Version 2.0 (the "License"); 533 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 534 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_pmin_pmax.wast.js 535 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_pmin_pmax.wast.js 536 @@ -1,3 +1,5 @@ 537 +// |jit-test| skip-if: !wasmSimdEnabled() 538 + 539 /* Copyright 2021 Mozilla Foundation 540 * 541 * Licensed under the Apache License, Version 2.0 (the "License"); 542 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 543 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_rounding.wast.js 544 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f32x4_rounding.wast.js 545 @@ -1,3 +1,5 @@ 546 +// |jit-test| skip-if: !wasmSimdEnabled() 547 + 548 /* Copyright 2021 Mozilla Foundation 549 * 550 * Licensed under the Apache License, Version 2.0 (the "License"); 551 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 552 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2.wast.js 553 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2.wast.js 554 @@ -1,3 +1,5 @@ 555 +// |jit-test| skip-if: !wasmSimdEnabled() 556 + 557 /* Copyright 2021 Mozilla Foundation 558 * 559 * Licensed under the Apache License, Version 2.0 (the "License"); 560 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 561 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_arith.wast.js 562 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_arith.wast.js 563 @@ -1,3 +1,5 @@ 564 +// |jit-test| skip-if: !wasmSimdEnabled() 565 + 566 /* Copyright 2021 Mozilla Foundation 567 * 568 * Licensed under the Apache License, Version 2.0 (the "License"); 569 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 570 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_cmp.wast.js 571 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_cmp.wast.js 572 @@ -1,3 +1,5 @@ 573 +// |jit-test| skip-if: !wasmSimdEnabled() 574 + 575 /* Copyright 2021 Mozilla Foundation 576 * 577 * Licensed under the Apache License, Version 2.0 (the "License"); 578 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 579 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_pmin_pmax.wast.js 580 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_pmin_pmax.wast.js 581 @@ -1,3 +1,5 @@ 582 +// |jit-test| skip-if: !wasmSimdEnabled() 583 + 584 /* Copyright 2021 Mozilla Foundation 585 * 586 * Licensed under the Apache License, Version 2.0 (the "License"); 587 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 588 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_rounding.wast.js 589 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_f64x2_rounding.wast.js 590 @@ -1,3 +1,5 @@ 591 +// |jit-test| skip-if: !wasmSimdEnabled() 592 + 593 /* Copyright 2021 Mozilla Foundation 594 * 595 * Licensed under the Apache License, Version 2.0 (the "License"); 596 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 597 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith.wast.js 598 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith.wast.js 599 @@ -1,3 +1,5 @@ 600 +// |jit-test| skip-if: !wasmSimdEnabled() 601 + 602 /* Copyright 2021 Mozilla Foundation 603 * 604 * Licensed under the Apache License, Version 2.0 (the "License"); 605 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 606 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith2.wast.js 607 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_arith2.wast.js 608 @@ -1,3 +1,5 @@ 609 +// |jit-test| skip-if: !wasmSimdEnabled() 610 + 611 /* Copyright 2021 Mozilla Foundation 612 * 613 * Licensed under the Apache License, Version 2.0 (the "License"); 614 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 615 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_cmp.wast.js 616 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_cmp.wast.js 617 @@ -1,3 +1,5 @@ 618 +// |jit-test| skip-if: !wasmSimdEnabled() 619 + 620 /* Copyright 2021 Mozilla Foundation 621 * 622 * Licensed under the Apache License, Version 2.0 (the "License"); 623 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 624 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extadd_pairwise_i8x16.wast.js 625 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extadd_pairwise_i8x16.wast.js 626 @@ -1,3 +1,5 @@ 627 +// |jit-test| skip-if: !wasmSimdEnabled() 628 + 629 /* Copyright 2021 Mozilla Foundation 630 * 631 * Licensed under the Apache License, Version 2.0 (the "License"); 632 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 633 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extmul_i8x16.wast.js 634 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_extmul_i8x16.wast.js 635 @@ -1,3 +1,5 @@ 636 +// |jit-test| skip-if: !wasmSimdEnabled() 637 + 638 /* Copyright 2021 Mozilla Foundation 639 * 640 * Licensed under the Apache License, Version 2.0 (the "License"); 641 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 642 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_q15mulr_sat_s.wast.js 643 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_q15mulr_sat_s.wast.js 644 @@ -1,3 +1,5 @@ 645 +// |jit-test| skip-if: !wasmSimdEnabled() 646 + 647 /* Copyright 2021 Mozilla Foundation 648 * 649 * Licensed under the Apache License, Version 2.0 (the "License"); 650 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 651 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_sat_arith.wast.js 652 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i16x8_sat_arith.wast.js 653 @@ -1,3 +1,5 @@ 654 +// |jit-test| skip-if: !wasmSimdEnabled() 655 + 656 /* Copyright 2021 Mozilla Foundation 657 * 658 * Licensed under the Apache License, Version 2.0 (the "License"); 659 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 660 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith.wast.js 661 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith.wast.js 662 @@ -1,3 +1,5 @@ 663 +// |jit-test| skip-if: !wasmSimdEnabled() 664 + 665 /* Copyright 2021 Mozilla Foundation 666 * 667 * Licensed under the Apache License, Version 2.0 (the "License"); 668 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 669 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith2.wast.js 670 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_arith2.wast.js 671 @@ -1,3 +1,5 @@ 672 +// |jit-test| skip-if: !wasmSimdEnabled() 673 + 674 /* Copyright 2021 Mozilla Foundation 675 * 676 * Licensed under the Apache License, Version 2.0 (the "License"); 677 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 678 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_cmp.wast.js 679 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_cmp.wast.js 680 @@ -1,3 +1,5 @@ 681 +// |jit-test| skip-if: !wasmSimdEnabled() 682 + 683 /* Copyright 2021 Mozilla Foundation 684 * 685 * Licensed under the Apache License, Version 2.0 (the "License"); 686 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 687 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_dot_i16x8.wast.js 688 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_dot_i16x8.wast.js 689 @@ -1,3 +1,5 @@ 690 +// |jit-test| skip-if: !wasmSimdEnabled() 691 + 692 /* Copyright 2021 Mozilla Foundation 693 * 694 * Licensed under the Apache License, Version 2.0 (the "License"); 695 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 696 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extadd_pairwise_i16x8.wast.js 697 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extadd_pairwise_i16x8.wast.js 698 @@ -1,3 +1,5 @@ 699 +// |jit-test| skip-if: !wasmSimdEnabled() 700 + 701 /* Copyright 2021 Mozilla Foundation 702 * 703 * Licensed under the Apache License, Version 2.0 (the "License"); 704 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 705 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extmul_i16x8.wast.js 706 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_extmul_i16x8.wast.js 707 @@ -1,3 +1,5 @@ 708 +// |jit-test| skip-if: !wasmSimdEnabled() 709 + 710 /* Copyright 2021 Mozilla Foundation 711 * 712 * Licensed under the Apache License, Version 2.0 (the "License"); 713 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 714 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f32x4.wast.js 715 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f32x4.wast.js 716 @@ -1,3 +1,5 @@ 717 +// |jit-test| skip-if: !wasmSimdEnabled() 718 + 719 /* Copyright 2021 Mozilla Foundation 720 * 721 * Licensed under the Apache License, Version 2.0 (the "License"); 722 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 723 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f64x2.wast.js 724 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i32x4_trunc_sat_f64x2.wast.js 725 @@ -1,3 +1,5 @@ 726 +// |jit-test| skip-if: !wasmSimdEnabled() 727 + 728 /* Copyright 2021 Mozilla Foundation 729 * 730 * Licensed under the Apache License, Version 2.0 (the "License"); 731 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 732 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith.wast.js 733 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith.wast.js 734 @@ -1,3 +1,5 @@ 735 +// |jit-test| skip-if: !wasmSimdEnabled() 736 + 737 /* Copyright 2021 Mozilla Foundation 738 * 739 * Licensed under the Apache License, Version 2.0 (the "License"); 740 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 741 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith2.wast.js 742 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_arith2.wast.js 743 @@ -1,3 +1,5 @@ 744 +// |jit-test| skip-if: !wasmSimdEnabled() 745 + 746 /* Copyright 2021 Mozilla Foundation 747 * 748 * Licensed under the Apache License, Version 2.0 (the "License"); 749 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 750 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_cmp.wast.js 751 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_cmp.wast.js 752 @@ -1,3 +1,5 @@ 753 +// |jit-test| skip-if: !wasmSimdEnabled() 754 + 755 /* Copyright 2021 Mozilla Foundation 756 * 757 * Licensed under the Apache License, Version 2.0 (the "License"); 758 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 759 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_extmul_i32x4.wast.js 760 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i64x2_extmul_i32x4.wast.js 761 @@ -1,3 +1,5 @@ 762 +// |jit-test| skip-if: !wasmSimdEnabled() 763 + 764 /* Copyright 2021 Mozilla Foundation 765 * 766 * Licensed under the Apache License, Version 2.0 (the "License"); 767 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 768 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith.wast.js 769 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith.wast.js 770 @@ -1,3 +1,5 @@ 771 +// |jit-test| skip-if: !wasmSimdEnabled() 772 + 773 /* Copyright 2021 Mozilla Foundation 774 * 775 * Licensed under the Apache License, Version 2.0 (the "License"); 776 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 777 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith2.wast.js 778 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_arith2.wast.js 779 @@ -1,3 +1,5 @@ 780 +// |jit-test| skip-if: !wasmSimdEnabled() 781 + 782 /* Copyright 2021 Mozilla Foundation 783 * 784 * Licensed under the Apache License, Version 2.0 (the "License"); 785 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 786 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_cmp.wast.js 787 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_cmp.wast.js 788 @@ -1,3 +1,5 @@ 789 +// |jit-test| skip-if: !wasmSimdEnabled() 790 + 791 /* Copyright 2021 Mozilla Foundation 792 * 793 * Licensed under the Apache License, Version 2.0 (the "License"); 794 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 795 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_sat_arith.wast.js 796 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_i8x16_sat_arith.wast.js 797 @@ -1,3 +1,5 @@ 798 +// |jit-test| skip-if: !wasmSimdEnabled() 799 + 800 /* Copyright 2021 Mozilla Foundation 801 * 802 * Licensed under the Apache License, Version 2.0 (the "License"); 803 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 804 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_int_to_int_extend.wast.js 805 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_int_to_int_extend.wast.js 806 @@ -1,3 +1,5 @@ 807 +// |jit-test| skip-if: !wasmSimdEnabled() 808 + 809 /* Copyright 2021 Mozilla Foundation 810 * 811 * Licensed under the Apache License, Version 2.0 (the "License"); 812 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 813 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_lane.wast.js 814 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_lane.wast.js 815 @@ -1,3 +1,5 @@ 816 +// |jit-test| skip-if: !wasmSimdEnabled() 817 + 818 /* Copyright 2021 Mozilla Foundation 819 * 820 * Licensed under the Apache License, Version 2.0 (the "License"); 821 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 822 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_linking.wast.js 823 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_linking.wast.js 824 @@ -1,3 +1,5 @@ 825 +// |jit-test| skip-if: !wasmSimdEnabled() 826 + 827 /* Copyright 2021 Mozilla Foundation 828 * 829 * Licensed under the Apache License, Version 2.0 (the "License"); 830 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 831 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_load.wast.js 832 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load.wast.js 833 @@ -1,3 +1,5 @@ 834 +// |jit-test| skip-if: !wasmSimdEnabled() 835 + 836 /* Copyright 2021 Mozilla Foundation 837 * 838 * Licensed under the Apache License, Version 2.0 (the "License"); 839 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 840 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_load16_lane.wast.js 841 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load16_lane.wast.js 842 @@ -1,3 +1,5 @@ 843 +// |jit-test| skip-if: !wasmSimdEnabled() 844 + 845 /* Copyright 2021 Mozilla Foundation 846 * 847 * Licensed under the Apache License, Version 2.0 (the "License"); 848 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 849 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_load32_lane.wast.js 850 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load32_lane.wast.js 851 @@ -1,3 +1,5 @@ 852 +// |jit-test| skip-if: !wasmSimdEnabled() 853 + 854 /* Copyright 2021 Mozilla Foundation 855 * 856 * Licensed under the Apache License, Version 2.0 (the "License"); 857 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 858 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_load64_lane.wast.js 859 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load64_lane.wast.js 860 @@ -1,3 +1,5 @@ 861 +// |jit-test| skip-if: !wasmSimdEnabled() 862 + 863 /* Copyright 2021 Mozilla Foundation 864 * 865 * Licensed under the Apache License, Version 2.0 (the "License"); 866 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 867 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_load8_lane.wast.js 868 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load8_lane.wast.js 869 @@ -1,3 +1,5 @@ 870 +// |jit-test| skip-if: !wasmSimdEnabled() 871 + 872 /* Copyright 2021 Mozilla Foundation 873 * 874 * Licensed under the Apache License, Version 2.0 (the "License"); 875 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 876 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_load_extend.wast.js 877 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load_extend.wast.js 878 @@ -1,3 +1,5 @@ 879 +// |jit-test| skip-if: !wasmSimdEnabled() 880 + 881 /* Copyright 2021 Mozilla Foundation 882 * 883 * Licensed under the Apache License, Version 2.0 (the "License"); 884 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 885 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_load_splat.wast.js 886 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load_splat.wast.js 887 @@ -1,3 +1,5 @@ 888 +// |jit-test| skip-if: !wasmSimdEnabled() 889 + 890 /* Copyright 2021 Mozilla Foundation 891 * 892 * Licensed under the Apache License, Version 2.0 (the "License"); 893 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 894 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_load_zero.wast.js 895 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_load_zero.wast.js 896 @@ -1,3 +1,5 @@ 897 +// |jit-test| skip-if: !wasmSimdEnabled() 898 + 899 /* Copyright 2021 Mozilla Foundation 900 * 901 * Licensed under the Apache License, Version 2.0 (the "License"); 902 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 903 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_memory-multi.wast.js 904 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_memory-multi.wast.js 905 @@ -1,3 +1,5 @@ 906 +// |jit-test| skip-if: !wasmSimdEnabled() 907 + 908 /* Copyright 2021 Mozilla Foundation 909 * 910 * Licensed under the Apache License, Version 2.0 (the "License"); 911 diff --git a/js/src/jit-test/tests/wasm/spec/spec/simd_select.wast.js b/js/src/jit-test/tests/wasm/spec/spec/simd_select.wast.js 912 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_select.wast.js 913 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_select.wast.js 914 @@ -1,3 +1,5 @@ 915 +// |jit-test| skip-if: !wasmSimdEnabled() 916 + 917 /* Copyright 2021 Mozilla Foundation 918 * 919 * Licensed under the Apache License, Version 2.0 (the "License"); 920 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 921 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_splat.wast.js 922 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_splat.wast.js 923 @@ -1,3 +1,5 @@ 924 +// |jit-test| skip-if: !wasmSimdEnabled() 925 + 926 /* Copyright 2021 Mozilla Foundation 927 * 928 * Licensed under the Apache License, Version 2.0 (the "License"); 929 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 930 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_store.wast.js 931 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store.wast.js 932 @@ -1,3 +1,5 @@ 933 +// |jit-test| skip-if: !wasmSimdEnabled() 934 + 935 /* Copyright 2021 Mozilla Foundation 936 * 937 * Licensed under the Apache License, Version 2.0 (the "License"); 938 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 939 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_store16_lane.wast.js 940 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store16_lane.wast.js 941 @@ -1,3 +1,5 @@ 942 +// |jit-test| skip-if: !wasmSimdEnabled() 943 + 944 /* Copyright 2021 Mozilla Foundation 945 * 946 * Licensed under the Apache License, Version 2.0 (the "License"); 947 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 948 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_store32_lane.wast.js 949 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store32_lane.wast.js 950 @@ -1,3 +1,5 @@ 951 +// |jit-test| skip-if: !wasmSimdEnabled() 952 + 953 /* Copyright 2021 Mozilla Foundation 954 * 955 * Licensed under the Apache License, Version 2.0 (the "License"); 956 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 957 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_store64_lane.wast.js 958 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store64_lane.wast.js 959 @@ -1,3 +1,5 @@ 960 +// |jit-test| skip-if: !wasmSimdEnabled() 961 + 962 /* Copyright 2021 Mozilla Foundation 963 * 964 * Licensed under the Apache License, Version 2.0 (the "License"); 965 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 966 --- a/js/src/jit-test/tests/wasm/spec/spec/simd_store8_lane.wast.js 967 +++ b/js/src/jit-test/tests/wasm/spec/spec/simd_store8_lane.wast.js 968 @@ -1,3 +1,5 @@ 969 +// |jit-test| skip-if: !wasmSimdEnabled() 970 + 971 /* Copyright 2021 Mozilla Foundation 972 * 973 * Licensed under the Apache License, Version 2.0 (the "License"); 974 diff --git a/js/src/jit-test/tests/wasm/spec/spec/table.wast.js b/js/src/jit-test/tests/wasm/spec/spec/table.wast.js 975 --- a/js/src/jit-test/tests/wasm/spec/spec/table.wast.js 976 +++ b/js/src/jit-test/tests/wasm/spec/spec/table.wast.js 977 @@ -84,17 +84,18 @@ assert_invalid( 978 `size minimum must not be greater than maximum`, 979 ); 980 981 -// ./test/core/table.wast:35 982 -assert_invalid(() => instantiate(`(table 0x1_0000_0000 funcref) `), `table size`); 983 - 984 -// ./test/core/table.wast:39 985 -assert_invalid( 986 - () => instantiate(`(table 0x1_0000_0000 0x1_0000_0000 funcref) `), 987 - `table size`, 988 -); 989 - 990 -// ./test/core/table.wast:43 991 -assert_invalid(() => instantiate(`(table 0 0x1_0000_0000 funcref) `), `table size`); 992 +// Suppressed because wasm-tools cannot parse these offsets. 993 +// // ./test/core/table.wast:35 994 +// assert_invalid(() => instantiate(`(table 0x1_0000_0000 funcref) `), `table size`); 995 +// 996 +// // ./test/core/table.wast:39 997 +// assert_invalid( 998 +// () => instantiate(`(table 0x1_0000_0000 0x1_0000_0000 funcref) `), 999 +// `table size`, 1000 +// ); 1001 +// 1002 +// // ./test/core/table.wast:43 1003 +// assert_invalid(() => instantiate(`(table 0 0x1_0000_0000 funcref) `), `table size`); 1004 1005 // ./test/core/table.wast:50 1006 let $15 = instantiate(`(module (table i64 0 funcref))`); 1007 diff --git a/js/src/jit-test/tests/wasm/spec/threads/LB.wast.js b/js/src/jit-test/tests/wasm/spec/threads/LB.wast.js 1008 --- a/js/src/jit-test/tests/wasm/spec/threads/LB.wast.js 1009 +++ b/js/src/jit-test/tests/wasm/spec/threads/LB.wast.js 1010 @@ -21,6 +21,10 @@ let $0 = instantiate(`(module \$Mem 1011 )`); 1012 let $Mem = $0; 1013 1014 +// Missing in source test: 1015 +// https://github.com/WebAssembly/threads/pull/217 1016 +register($Mem, `mem`); 1017 + 1018 // ./test/core/threads/LB.wast:5 1019 let $T1 = new Thread($Mem, "$Mem", ` 1020 1021 @@ -89,7 +93,7 @@ let $3 = instantiate(`(module \$Check 1022 ;; allowed results: (L_0 = 0 || L_0 = 1) && (L_1 = 0 || L_1 = 1) 1023 1024 (i32.or (i32.eq (local.get 0) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0))) 1025 - (i32.or (i32.eq (local.get 1) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0))) 1026 + (i32.or (i32.eq (local.get 1) (i32.const 1)) (i32.eq (local.get 1) (i32.const 0))) 1027 (i32.and) 1028 (return) 1029 ) 1030 diff --git a/js/src/jit-test/tests/wasm/spec/threads/LB_atomic.wast.js b/js/src/jit-test/tests/wasm/spec/threads/LB_atomic.wast.js 1031 --- a/js/src/jit-test/tests/wasm/spec/threads/LB_atomic.wast.js 1032 +++ b/js/src/jit-test/tests/wasm/spec/threads/LB_atomic.wast.js 1033 @@ -21,6 +21,10 @@ let $0 = instantiate(`(module \$Mem 1034 )`); 1035 let $Mem = $0; 1036 1037 +// Missing in source test: 1038 +// https://github.com/WebAssembly/threads/pull/217 1039 +register($Mem, `mem`); 1040 + 1041 // ./test/core/threads/LB_atomic.wast:5 1042 let $T1 = new Thread($Mem, "$Mem", ` 1043 1044 diff --git a/js/src/jit-test/tests/wasm/spec/threads/MP.wast.js b/js/src/jit-test/tests/wasm/spec/threads/MP.wast.js 1045 --- a/js/src/jit-test/tests/wasm/spec/threads/MP.wast.js 1046 +++ b/js/src/jit-test/tests/wasm/spec/threads/MP.wast.js 1047 @@ -21,6 +21,10 @@ let $0 = instantiate(`(module \$Mem 1048 )`); 1049 let $Mem = $0; 1050 1051 +// Missing in source test: 1052 +// https://github.com/WebAssembly/threads/pull/217 1053 +register($Mem, `mem`); 1054 + 1055 // ./test/core/threads/MP.wast:5 1056 let $T1 = new Thread($Mem, "$Mem", ` 1057 1058 @@ -86,7 +90,7 @@ let $3 = instantiate(`(module \$Check 1059 ;; allowed results: (L_0 = 0 || L_0 = 1) && (L_1 = 0 || L_1 = 42) 1060 1061 (i32.or (i32.eq (local.get 0) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0))) 1062 - (i32.or (i32.eq (local.get 1) (i32.const 42)) (i32.eq (local.get 0) (i32.const 0))) 1063 + (i32.or (i32.eq (local.get 1) (i32.const 42)) (i32.eq (local.get 1) (i32.const 0))) 1064 (i32.and) 1065 (return) 1066 ) 1067 diff --git a/js/src/jit-test/tests/wasm/spec/threads/MP_atomic.wast.js b/js/src/jit-test/tests/wasm/spec/threads/MP_atomic.wast.js 1068 --- a/js/src/jit-test/tests/wasm/spec/threads/MP_atomic.wast.js 1069 +++ b/js/src/jit-test/tests/wasm/spec/threads/MP_atomic.wast.js 1070 @@ -21,6 +21,10 @@ let $0 = instantiate(`(module \$Mem 1071 )`); 1072 let $Mem = $0; 1073 1074 +// Missing in source test: 1075 +// https://github.com/WebAssembly/threads/pull/217 1076 +register($Mem, `mem`); 1077 + 1078 // ./test/core/threads/MP_atomic.wast:5 1079 let $T1 = new Thread($Mem, "$Mem", ` 1080 1081 diff --git a/js/src/jit-test/tests/wasm/spec/threads/MP_wait.wast.js b/js/src/jit-test/tests/wasm/spec/threads/MP_wait.wast.js 1082 --- a/js/src/jit-test/tests/wasm/spec/threads/MP_wait.wast.js 1083 +++ b/js/src/jit-test/tests/wasm/spec/threads/MP_wait.wast.js 1084 @@ -21,6 +21,10 @@ let $0 = instantiate(`(module \$Mem 1085 )`); 1086 let $Mem = $0; 1087 1088 +// Missing in source test: 1089 +// https://github.com/WebAssembly/threads/pull/217 1090 +register($Mem, `mem`); 1091 + 1092 // ./test/core/threads/MP_wait.wast:5 1093 let $T1 = new Thread($Mem, "$Mem", ` 1094 1095 diff --git a/js/src/jit-test/tests/wasm/spec/threads/SB.wast.js b/js/src/jit-test/tests/wasm/spec/threads/SB.wast.js 1096 --- a/js/src/jit-test/tests/wasm/spec/threads/SB.wast.js 1097 +++ b/js/src/jit-test/tests/wasm/spec/threads/SB.wast.js 1098 @@ -21,6 +21,10 @@ let $0 = instantiate(`(module \$Mem 1099 )`); 1100 let $Mem = $0; 1101 1102 +// Missing in source test: 1103 +// https://github.com/WebAssembly/threads/pull/217 1104 +register($Mem, `mem`); 1105 + 1106 // ./test/core/threads/SB.wast:5 1107 let $T1 = new Thread($Mem, "$Mem", ` 1108 1109 @@ -89,7 +93,7 @@ let $3 = instantiate(`(module \$Check 1110 ;; allowed results: (L_0 = 0 || L_0 = 1) && (L_1 = 0 || L_1 = 1) 1111 1112 (i32.or (i32.eq (local.get 0) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0))) 1113 - (i32.or (i32.eq (local.get 1) (i32.const 1)) (i32.eq (local.get 0) (i32.const 0))) 1114 + (i32.or (i32.eq (local.get 1) (i32.const 1)) (i32.eq (local.get 1) (i32.const 0))) 1115 (i32.and) 1116 (return) 1117 ) 1118 diff --git a/js/src/jit-test/tests/wasm/spec/threads/SB_atomic.wast.js b/js/src/jit-test/tests/wasm/spec/threads/SB_atomic.wast.js 1119 --- a/js/src/jit-test/tests/wasm/spec/threads/SB_atomic.wast.js 1120 +++ b/js/src/jit-test/tests/wasm/spec/threads/SB_atomic.wast.js 1121 @@ -21,6 +21,10 @@ let $0 = instantiate(`(module \$Mem 1122 )`); 1123 let $Mem = $0; 1124 1125 +// Missing in source test: 1126 +// https://github.com/WebAssembly/threads/pull/217 1127 +register($Mem, `mem`); 1128 + 1129 // ./test/core/threads/SB_atomic.wast:5 1130 let $T1 = new Thread($Mem, "$Mem", `