[Webkit-unassigned] [Bug 170974] New: Should not need to nop-pad between register allocation and a label

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 18 18:40:17 PDT 2017


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

            Bug ID: 170974
           Summary: Should not need to nop-pad between register allocation
                    and a label
           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

If I have code like:

GPRTemporary blah
GPRReg blahGPR = blah.gpr()
MacroAssembler::Label = m_jit.label();

It may currently fail register allocation validation, presumably because the validation thinks that the label is inside the register allocation rather than after it.  The current workaround is to insert a nop:

GPRTemporary blah
GPRReg blahGPR = blah.gpr()
m_jit.nop();
MacroAssembler::Label = m_jit.label();

We should probably fix that eventually.

-- 
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/20170419/9e5e2168/attachment.html>


More information about the webkit-unassigned mailing list