[Webkit-unassigned] [Bug 252209] New: Implement single-pass baseline JIT for WebAssembly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 16:17:01 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=252209

            Bug ID: 252209
           Summary: Implement single-pass baseline JIT for WebAssembly
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebAssembly
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: d_degazio at apple.com

rdar://100332177

The current default WebAssembly baseline JIT is based on emitting Air instructions. This is a moderate compile-time improvement over emitting B3, but still isn't very fast and generates relatively inefficient code. WebAssembly should lend itself relatively well to faster and simpler compilation methods, and we should be able to improve both startup speeds and generated code quality in the baseline JIT by transitioning to a single-pass baseline compiler.

Core design principles:
 - Don't waste time generating an IR, emit instructions directly.
 - Generate decent but not optimized code. We can do better than spilling everything to stack slots, but we shouldn't do liveness analysis or optimization passes.
 - Emphasize compilation speed via efficient data structures and straightforward code generation.

This is the parent bug for all subcomponents of this feature. The initial patch is tracked in https://bugs.webkit.org/show_bug.cgi?id=250052, and we'll make additional bugs to track additional features/fixes as needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230214/8d09c962/attachment.htm>


More information about the webkit-unassigned mailing list