Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0585f9e96a0530ae4d3e6919f086e1a8987921d3
https://github.com/WebKit/WebKit/commit/0585f9e96a0530ae4d3e6919f086e1a8987921d3
Author: Yusuke Suzuki <[email protected]>
Date: 2025-09-16 (Tue, 16 Sep 2025)
Changed paths:
M Source/JavaScriptCore/assembler/MacroAssemblerARM64.h
M Source/JavaScriptCore/assembler/testmasm.cpp
Log Message:
-----------
[JSC] Add signbit test code generation on ARM64
https://bugs.webkit.org/show_bug.cgi?id=298914
rdar://160658477
Reviewed by Justin Michaud and Dan Hecht.
This patch adds code generation via tbnz etc. when the condition is met.
Like,
v < 0 => checking signbit via tbz
v >= 0 => checking signbit via tbnz
* Source/JavaScriptCore/assembler/MacroAssemblerARM64.h:
(JSC::MacroAssemblerARM64::branch32):
(JSC::MacroAssemblerARM64::branch64):
(JSC::MacroAssemblerARM64::attemptToFoldToBitTest32):
(JSC::MacroAssemblerARM64::attemptToFoldToBitTest64):
* Source/JavaScriptCore/assembler/testmasm.cpp:
(int32Operands):
(int64Operands):
(JSC::testBranch32):
(JSC::testBranch64):
Canonical link: https://commits.webkit.org/300030@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