Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a2a32a71c3163eb5054c91a9f4b8732f9ebc9c2b
https://github.com/WebKit/WebKit/commit/a2a32a71c3163eb5054c91a9f4b8732f9ebc9c2b
Author: Yusuke Suzuki <[email protected]>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
M Source/JavaScriptCore/assembler/MacroAssemblerARM64.h
M Source/JavaScriptCore/dfg/DFGStrengthReductionPhase.cpp
Log Message:
-----------
[JSC] Specifically handling array[x >> n] CheckInBounds
https://bugs.webkit.org/show_bug.cgi?id=289691
rdar://146940249
Reviewed by Yijia Huang.
To make Integer Range Optimization easier, let's make CheckInBounds'
operands simpler. This patch removes `>>` when it is used in
CheckInBounds and limit is constant.
We also make ARM64 zeroExtend32ToWord better by just using mov<32>.
* Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:
(JSC::MacroAssemblerARM64::zeroExtend32ToWord):
* Source/JavaScriptCore/dfg/DFGStrengthReductionPhase.cpp:
(JSC::DFG::StrengthReductionPhase::handleNode):
Canonical link: https://commits.webkit.org/292099@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes