Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1ad97a78a52930a297f536d9322c6a5ce29061b2
https://github.com/WebKit/WebKit/commit/1ad97a78a52930a297f536d9322c6a5ce29061b2
Author: Yusuke Suzuki <[email protected]>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
Log Message:
-----------
[JSC] Use moveZeroToDouble instead of loading zero from memory
https://bugs.webkit.org/show_bug.cgi?id=258710
rdar://111549946
Reviewed by Mark Lam.
Most of architectures have faster way to load double 0 to the register.
We use moveZeroToDouble instead of loadDouble(zeroConstantAddress, register).
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compileDoubleRep):
(JSC::DFG::compileClampDoubleToByte):
Canonical link: https://commits.webkit.org/265643@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes