Skip to content

Update binaryen #1989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"url": "https://github.com/AssemblyScript/assemblyscript/issues"
},
"dependencies": {
"binaryen": "101.0.0-nightly.20210703",
"binaryen": "101.0.0-nightly.20210723",
"long": "^4.0.0",
"source-map-support": "^0.5.19",
"ts-node": "^6.2.0"
Expand Down
24 changes: 13 additions & 11 deletions tests/compiler/features/reference-types.untouched.wat
Original file line number Diff line number Diff line change
Expand Up @@ -426,17 +426,19 @@
call $~lib/builtins/abort
unreachable
end
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
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
unreachable
end
end
global.get $features/reference-types/funcGlobal
global.set $features/reference-types/anyGlobal
Expand Down
6 changes: 5 additions & 1 deletion tests/compiler/features/simd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,14 @@ function test_i16x8(): void {
);
__free(ptr);
}
assert(i16x8.q15mulr_sat_s(
i16x8(-1, -16383, 32765, <i16>65535, -32768, <i16>65535, -16385, -32768),
i16x8(-1, -16384, 1, -32768, -32768, 1, -16384, -10)
) == i16x8(0, 8192, 1, 1, 32767, 0, 8193, 1));

// TODO: unimp in Binaryen's interpreter
i16x8.extadd_pairwise_i8x16_s(a);
i16x8.extadd_pairwise_i8x16_u(a);
i16x8.q15mulr_sat_s(a, a);
i16x8.extmul_low_i8x16_s(a, a);
i16x8.extmul_low_i8x16_u(a, a);
i16x8.extmul_high_i8x16_s(a, a);
Expand Down Expand Up @@ -580,6 +583,7 @@ function test_i64x2(): void {
);
__free(ptr);
}
// TODO: unimp in Binaryen's interpreter
i64x2.extmul_low_i32x4_s(a, a);
i64x2.extmul_low_i32x4_u(a, a);
i64x2.extmul_high_i32x4_s(a, a);
Expand Down
Loading