We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec33a4 commit 3efc838Copy full SHA for 3efc838
9 files changed
package-lock.json
package.json
@@ -21,7 +21,7 @@
21
"url": "https://github.com/AssemblyScript/assemblyscript/issues"
22
},
23
"dependencies": {
24
- "binaryen": "101.0.0-nightly.20210703",
+ "binaryen": "101.0.0-nightly.20210723",
25
"long": "^4.0.0",
26
"source-map-support": "^0.5.19",
27
"ts-node": "^6.2.0"
tests/compiler/features/reference-types.untouched.wat
@@ -426,17 +426,19 @@
426
call $~lib/builtins/abort
427
unreachable
428
end
429
- ref.func $features/reference-types/someFunc
430
- local.set $0
431
- local.get $0
432
- ref.is_null
433
- if
434
- i32.const 0
435
- i32.const 32
436
- i32.const 113
437
- i32.const 3
438
- call $~lib/builtins/abort
439
- unreachable
+ block
+ ref.func $features/reference-types/someFunc
+ local.set $0
+ local.get $0
+ ref.is_null
+ if
+ i32.const 0
+ i32.const 32
+ i32.const 113
+ i32.const 3
+ call $~lib/builtins/abort
440
+ unreachable
441
+ end
442
443
global.get $features/reference-types/funcGlobal
444
global.set $features/reference-types/anyGlobal
tests/compiler/features/simd.ts
@@ -393,11 +393,14 @@ function test_i16x8(): void {
393
);
394
__free(ptr);
395
}
396
+ assert(i16x8.q15mulr_sat_s(
397
+ i16x8(-1, -16383, 32765, <i16>65535, -32768, <i16>65535, -16385, -32768),
398
+ i16x8(-1, -16384, 1, -32768, -32768, 1, -16384, -10)
399
+ ) == i16x8(0, 8192, 1, 1, 32767, 0, 8193, 1));
400
401
// TODO: unimp in Binaryen's interpreter
402
i16x8.extadd_pairwise_i8x16_s(a);
403
i16x8.extadd_pairwise_i8x16_u(a);
- i16x8.q15mulr_sat_s(a, a);
404
i16x8.extmul_low_i8x16_s(a, a);
405
i16x8.extmul_low_i8x16_u(a, a);
406
i16x8.extmul_high_i8x16_s(a, a);
@@ -580,6 +583,7 @@ function test_i64x2(): void {
580
583
581
584
582
585
586
+ // TODO: unimp in Binaryen's interpreter
587
i64x2.extmul_low_i32x4_s(a, a);
588
i64x2.extmul_low_i32x4_u(a, a);
589
i64x2.extmul_high_i32x4_s(a, a);
0 commit comments