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
Patch (95.00 KB, patch)
2022-07-27 08:51 PDT, Dmitry
no flags
Patch (95.00 KB, patch)
2022-07-27 08:52 PDT, Dmitry
dbezhetskov: review?
ews-feeder: commit-queue-
Dmitry
Comment 1 2022-07-27 08:48:11 PDT
Dmitry
Comment 2 2022-07-27 08:51:14 PDT
Dmitry
Comment 3 2022-07-27 08:52:26 PDT
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
Dmitry
Comment 6 2022-08-15 05:36:20 PDT
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.