Bug 265322

Summary: [JSC] Wasm GC struct members should be naturally aligned
Product: WebKit Reporter: Joseph Griego <joseph.j.griego>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: vidavera, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Joseph Griego
Reported 2023-11-24 10:03:54 PST
At present, e.g. ref members can be placed anywhere within the JSWebAssemblyStruct::m_payload allocation; for concurrent JIT on 32-bit (and, AIUI, concurrent GC on 64-bit,) these need to be 8-byte aligned. Also, I suspect aligning the scalar types could be a slight performance win on ARM.
Attachments
Joseph Griego
Comment 1 2023-11-24 10:37:14 PST
EWS
Comment 2 2023-11-27 08:52:47 PST
Committed 271146@main (c95abf8658be): <https://commits.webkit.org/271146@main> Reviewed commits have been landed. Closing PR #20878 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-11-27 08:53:15 PST
Note You need to log in before you can comment on or make changes to this bug.