Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 75d2a27f5eca91605ff97cf6b0d81af0b01748ad
https://github.com/WebKit/WebKit/commit/75d2a27f5eca91605ff97cf6b0d81af0b01748ad
Author: Yusuke Suzuki <[email protected]>
Date: 2026-02-18 (Wed, 18 Feb 2026)
Changed paths:
M Source/JavaScriptCore/b3/B3LowerToAir.cpp
M Source/JavaScriptCore/b3/B3Type.h
M Source/JavaScriptCore/b3/testb3.h
M Source/JavaScriptCore/b3/testb3_1.cpp
M Source/JavaScriptCore/b3/testb3_8.cpp
Log Message:
-----------
[JSC] Support fccmp in B3
https://bugs.webkit.org/show_bug.cgi?id=308124
rdar://170627645
Reviewed by Keith Miller.
This patch extends the existing ccmp optimization to support fccmp,
which includes float / double comparisons.
Tests: Source/JavaScriptCore/b3/testb3_1.cpp
Source/JavaScriptCore/b3/testb3_8.cpp
* Source/JavaScriptCore/b3/B3LowerToAir.cpp:
* Source/JavaScriptCore/b3/B3Type.h:
(JSC::B3::Type::isScalar const):
* Source/JavaScriptCore/b3/testb3.h:
* Source/JavaScriptCore/b3/testb3_1.cpp:
(run):
* Source/JavaScriptCore/b3/testb3_8.cpp:
(testFCCmpAndDouble):
(testFCCmpOrDouble):
(testFCCmpAndFloat):
(testFCCmpOrFloat):
(testFCCmpAndAndDouble):
(testFCCmpMixedIntDouble):
(testFCCmpMixedDoubleInt):
(testFCCmpLessThanAndDouble):
(testFCCmpGreaterEqualOrDouble):
(testFCCmpNaN):
(testFCCmpNegatedAndDouble):
Canonical link: https://commits.webkit.org/307782@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications