[Webkit-unassigned] [Bug 151012] New: MacroAssemblerX86_64 should expose the full power of LEA

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 8 18:25:17 PST 2015


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

            Bug ID: 151012
           Summary: MacroAssemblerX86_64 should expose the full power of
                    LEA
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fpizlo at apple.com

It should be possible to do things like:

m_jit.leaPtr(MacroAssembler::BaseIndex(rax, rcx), rdx); // three-operand form of addPtr
m_jit.lea32(MacroAssembler::BaseIndex(rax, rcx), rdx); // three-operand form of add32
m_jit.add32(rax, rcx, rdx); // this uses lea32, or vice-versa. it's useful to have this alias
m_jit.leaPtr(MacroAssembler::BaseIndex(rax, rcx, ScaleEight, 42), rdx); // MEGA COMBO

-- 
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/20151109/c93594b1/attachment.html>


More information about the webkit-unassigned mailing list