[Webkit-unassigned] [Bug 150850] New: Fix some inefficiencies in the baseline usage of JITAddGenerator.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 3 13:10:00 PST 2015


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

            Bug ID: 150850
           Summary: Fix some inefficiencies in the baseline usage of
                    JITAddGenerator.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

1. emit_op_add() was loading the operands twice.  Removed the redundant load.
2. The snippet may decide that it wants to go the slow path route all the time.  In that case, emit_op_add will end up emitting a branch to an out of line slow path followed by some dead code to store the result of the fast path on to the stack.  We now check if the snippet determined that there's no fast path, and just emit the slow path inline, and skip the dead store of the fast path result.

-- 
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/20151103/0ffcd2d6/attachment-0001.html>


More information about the webkit-unassigned mailing list