[Webkit-unassigned] [Bug 166623] New: WebAssembly: avoid pinning registers when no Memory is present

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 30 12:05:11 PST 2016


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

            Bug ID: 166623
           Summary: WebAssembly: avoid pinning registers when no Memory is
                    present
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfbastien at apple.com
                CC: jfbastien at apple.com, keith_miller at apple.com,
                    sbarati at apple.com
        Depends on: 165282
            Blocks: 161709

In bug #165282 I'm changing pinning so that we unconditionally pin registers for all Modules, even if we technically don't need to when no Memory is present. This makes it easier to implement the wasm -> wasm call thunks because the thunk needs to set up the callee's pinned registers and therefore necessarily clobbers the caller's values. The caller thinks these registers are callee-saved, but that's annoying to do because wasm -> wasm is a tail call. We could teach B3 that these calls clobber those registers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161230/d14dac62/attachment.html>


More information about the webkit-unassigned mailing list