[Webkit-unassigned] [Bug 232373] Macro assembler scratchRegister() is unsafe on ARMv7, MIPS and RISCV64

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 27 11:14:09 PDT 2021


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

--- Comment #3 from Saam Barati <sbarati at apple.com> ---
(In reply to Geza Lore from comment #2)
> On ARMv7 sometimes we need both scratch registers reserved for the macro
> assembler, so the best we might be able to do is a RELEASE_ASSERT when we
> handed out the scratch GPR but then end up needing it. Still would be better
> than the current situation. Other than that caveat, we could add support for
> this.

I think you're misunderstanding what DisallowMacroScratchRegisterUsage does. All it does is crash if we use the scratch register. It's not preventing us from using it.

-- 
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/20211027/4f230ae4/attachment.htm>


More information about the webkit-unassigned mailing list