[Webkit-unassigned] [Bug 230622] Allow DFG to use regCS0 GPR (LLInt metadataTable) on ARMv7
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 14 11:51:57 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=230622
Saam Barati <sbarati at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #440492|review? |review+
Flags| |
--- Comment #16 from Saam Barati <sbarati at apple.com> ---
Comment on attachment 440492
--> https://bugs.webkit.org/attachment.cgi?id=440492
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=440492&action=review
r=me
> Source/JavaScriptCore/ChangeLog:3
> + Allow DFG to use regCS0 GPR (LLInt metadataTable) on ARMv7
nit: this patch is really doing 2 things:
1. Allow DFG to use this register
2. Make sure tail calls properly restore CSRs in DFG.
I'd argue (2) is the really important part.
I'd make the title reflect (1) and (2) perhaps, or at least make mention of (2)
> Source/JavaScriptCore/jit/CallFrameShuffleData.cpp:63
> + if (saveSlotIndexInCPURegisters < 0)
> + saveSlotIndexInCPURegisters -= 1; // Round towards -inf
I'm pretty confused as to what this is doing and why it's needed.
> Source/JavaScriptCore/jit/CallFrameShuffleData.cpp:64
> + VirtualRegister saveSlot { saveSlotIndexInCPURegisters / 2 };
Why /2?
--
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/20211014/fd5056d0/attachment.htm>
More information about the webkit-unassigned
mailing list