Bug 251330

Summary: [Wasm-GC] Support arrays of vectors
Product: WebKit Reporter: Tim Chevalier <tjc>
Component: WebAssemblyAssignee: Asumu Takikawa <asumu>
Status: RESOLVED FIXED    
Severity: Normal CC: justin_michaud, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 247394    

Tim Chevalier
Reported 2023-01-28 22:17:22 PST
https://github.com/WebAssembly/gc/blob/main/proposals/gc/MVP.md implies that arrays of vectors should be supported, e.g. the description of `array.new_canon_data`: "t' is numeric, vector, or packed". That implies that `array.get` and `array.set` should work on arrays of vectors. However, this functionality is currently not implemented in the `JSWebAssemblyArray` class (see the implementations of `get()` and `set()`.) The AIR implementations of `array.new_canon` and `array.get` also use `emitCoerceFromI64` on the input or result value, which crashes with an assertion failure when the source type is `v128`.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-02-04 22:18:17 PST
Asumu Takikawa
Comment 2 2024-01-12 13:11:15 PST
EWS
Comment 3 2024-01-29 09:16:28 PST
Committed 273663@main (4750403b1e46): <https://commits.webkit.org/273663@main> Reviewed commits have been landed. Closing PR #22727 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.