WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
243208
[WASM-GC] Add support for struct.new, struct.get and struct.set
https://bugs.webkit.org/show_bug.cgi?id=243208
Summary
[WASM-GC] Add support for struct.new, struct.get and struct.set
Dmitry
Reported
2022-07-26 04:26:52 PDT
Wasm GC proposal introduces structs (
https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP.md#structures
) To enhance support of Wasm GC proposal in JSC this patch supports struct.new, struct.get and struct.set operations. These operations have been chosen because it is convenient to test it together and hard to test it separately. Current implementation isn't optimal, at least for B3 and Air tiers, but optimization (replacing runtime call to a load by known offset) for struct.get/set could be easily added as a next step.
Attachments
Patch
(94.94 KB, patch)
2022-07-27 08:48 PDT
,
Dmitry
no flags
Details
Formatted Diff
Diff
Patch
(95.00 KB, patch)
2022-07-27 08:51 PDT
,
Dmitry
no flags
Details
Formatted Diff
Diff
Patch
(95.00 KB, patch)
2022-07-27 08:52 PDT
,
Dmitry
dbezhetskov
: review?
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Dmitry
Comment 1
2022-07-27 08:48:11 PDT
Created
attachment 461243
[details]
Patch
Dmitry
Comment 2
2022-07-27 08:51:14 PDT
Created
attachment 461245
[details]
Patch
Dmitry
Comment 3
2022-07-27 08:52:26 PDT
Created
attachment 461246
[details]
Patch
EWS Watchlist
Comment 4
2022-07-27 08:54:23 PDT
This patch modifies one of the wasm.json files. Please ensure that any changes in one have been mirrored to the other. You can find the wasm.json files at "Source/JavaScriptCore/wasm/wasm.json" and "JSTests/wasm/wasm.json".
Radar WebKit Bug Importer
Comment 5
2022-08-02 04:27:16 PDT
<
rdar://problem/97971445
>
Dmitry
Comment 6
2022-08-15 05:36:20 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/3303
EWS
Comment 7
2022-10-15 11:20:19 PDT
Committed
255586@main
(481cb6061b39): <
https://commits.webkit.org/255586@main
> Reviewed commits have been landed. Closing PR #3303 and removing active labels.
Yusuke Suzuki
Comment 8
2022-10-15 14:31:56 PDT
Re-opening for pull request
https://github.com/WebKit/WebKit/pull/5421
EWS
Comment 9
2022-10-15 14:34:35 PDT
Committed
255592@main
(463d09c7e89e): <
https://commits.webkit.org/255592@main
> Reviewed commits have been landed. Closing PR #5421 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug