-
-
Notifications
You must be signed in to change notification settings - Fork 672
Update Binaryen #1700
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
Update Binaryen #1700
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
e027bf2
Update Binaryen
dcodeIO 926ec1c
remove obsolete Prefetch
dcodeIO ed843e9
rename SIMD widening instructions to extend
dcodeIO b927265
add i64x2.extend_* instructions
dcodeIO 4ba5cf6
rename SIMD load extend instructions
dcodeIO 8ca869f
rename SIMD load splat instructions
dcodeIO c3abeef
add i64x2.mul
dcodeIO fe619b8
update
dcodeIO b4222aa
rename shuffle and swizzle instructions
dcodeIO f0a59ee
remove i8x16.mul
dcodeIO e023abe
rename SIMD saturate -> sat
dcodeIO e4e6467
unify SIMD any_true, add dummy i64x2.all_true
dcodeIO 2a3c13b
remove i64x2.trunc_sat_f64x2_s/u
dcodeIO c458006
remove SIMD qfma/qfms
dcodeIO 1ad3c02
remove f64x2.convert_i64x2_s/u
dcodeIO a8f8a85
update
dcodeIO 959f9d7
add dummies for i64x2.eq/ne/lt_s/lt_u/le_s/le_u/gt_s/gt_u/ge_s/ge_u
dcodeIO d215fab
initial i31ref
dcodeIO 28f1d41
lint
dcodeIO 12059fe
remove I31 wrapper methods
dcodeIO 12a89ff
update
dcodeIO 5f90df2
bindings for ref.as_*
dcodeIO a3ff84f
shall we
dcodeIO c0c4d25
update other deps again
dcodeIO File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"features": [ | ||
"gc" | ||
], | ||
"asc_flags": [ | ||
"--explicitStart", | ||
"--noValidate" | ||
], | ||
"skipInstantiate": true | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
(module | ||
(type $none_=>_none (func)) | ||
(memory $0 1) | ||
(data (i32.const 1036) ",") | ||
(data (i32.const 1048) "\01\00\00\00\1c\00\00\00f\00e\00a\00t\00u\00r\00e\00s\00/\00g\00c\00.\00t\00s") | ||
(global $~started (mut i32) (i32.const 0)) | ||
(export "memory" (memory $0)) | ||
(export "_start" (func $~start)) | ||
(func $~start | ||
global.get $~started | ||
if | ||
return | ||
end | ||
i32.const 1 | ||
global.set $~started | ||
) | ||
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function test_i31(): void { | ||
var ref = i31.new(123); | ||
assert(ref); | ||
var val = i31.get(ref); | ||
var uval = <u32>i31.get(ref); | ||
} | ||
|
||
test_i31(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
(module | ||
(type $none_=>_none (func)) | ||
(type $i32_i32_i32_i32_=>_none (func (param i32 i32 i32 i32))) | ||
(import "env" "abort" (func $~lib/builtins/abort (param i32 i32 i32 i32))) | ||
(memory $0 1) | ||
(data (i32.const 12) ",\00\00\00\00\00\00\00\00\00\00\00\01\00\00\00\1c\00\00\00f\00e\00a\00t\00u\00r\00e\00s\00/\00g\00c\00.\00t\00s\00") | ||
(table $0 1 funcref) | ||
(global $~lib/memory/__data_end i32 (i32.const 60)) | ||
(global $~lib/memory/__stack_pointer (mut i32) (i32.const 16444)) | ||
(global $~lib/memory/__heap_base i32 (i32.const 16444)) | ||
(global $~started (mut i32) (i32.const 0)) | ||
(export "memory" (memory $0)) | ||
(export "_start" (func $~start)) | ||
(func $features/gc/test_i31 | ||
(local $0 i31ref) | ||
(local $1 i32) | ||
(local $2 i32) | ||
i32.const 123 | ||
i31.new | ||
local.set $0 | ||
local.get $0 | ||
ref.is_null | ||
if | ||
i32.const 0 | ||
i32.const 32 | ||
i32.const 3 | ||
i32.const 3 | ||
call $~lib/builtins/abort | ||
unreachable | ||
end | ||
local.get $0 | ||
i31.get_s | ||
local.set $1 | ||
local.get $0 | ||
i31.get_u | ||
local.set $2 | ||
) | ||
(func $start:features/gc | ||
call $features/gc/test_i31 | ||
) | ||
(func $~start | ||
global.get $~started | ||
if | ||
return | ||
end | ||
i32.const 1 | ||
global.set $~started | ||
call $start:features/gc | ||
) | ||
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ | |
}, | ||
"gc": { | ||
"asc_flags": [ | ||
"--enable reference-types", | ||
"--enable gc" | ||
], | ||
"v8_flags": [ | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.