[Webkit-unassigned] [Bug 238018] [JSC] Add DoNotHaveTagRegisters mode to unboxDouble

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 26 01:05:18 PDT 2022


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

--- Comment #8 from Yusuke Suzuki <ysuzuki at apple.com> ---
Comment on attachment 455489
  --> https://bugs.webkit.org/attachment.cgi?id=455489
v2

View in context: https://bugs.webkit.org/attachment.cgi?id=455489&action=review

> Source/JavaScriptCore/wasm/js/WasmToJS.cpp:331
> -            jit.move(JIT::TrustedImm64(JSValue::NumberTag), GPRInfo::returnValueGPR2);
> -            jit.add64(GPRInfo::returnValueGPR2, GPRInfo::returnValueGPR);
> -            jit.move64ToDouble(GPRInfo::returnValueGPR, dest);
> +            jit.unboxDouble(GPRInfo::returnValueGPR, GPRInfo::returnValueGPR2, dest, DoNotHaveTagRegisters);

At this point, we cannot use scratchRegister().

-- 
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/20220326/f5640e10/attachment.htm>


More information about the webkit-unassigned mailing list