[webkit-changes] [WebKit/WebKit] 5e4e34: [JSC] Add a bit adhoc Int52 <-> Int32 round-trip o...
Yusuke Suzuki
noreply at github.com
Sat Feb 1 13:34:11 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5e4e34976b1cefbe593516a4aeb100516497cfd9
https://github.com/WebKit/WebKit/commit/5e4e34976b1cefbe593516a4aeb100516497cfd9
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2025-02-01 (Sat, 01 Feb 2025)
Changed paths:
M Source/JavaScriptCore/b3/B3ReduceStrength.cpp
M Source/JavaScriptCore/b3/testb3.h
M Source/JavaScriptCore/b3/testb3_1.cpp
M Source/JavaScriptCore/b3/testb3_7.cpp
Log Message:
-----------
[JSC] Add a bit adhoc Int52 <-> Int32 round-trip optimization
https://bugs.webkit.org/show_bug.cgi?id=286243
rdar://143241302
Reviewed by Justin Michaud and Yijia Huang.
This patch adhocly reduces Int52 <-> Int32 round-trips. In B3, we detect
meaningless Int52 promotion and demotion and remove them via pattern
matching.
* Source/JavaScriptCore/b3/B3ReduceStrength.cpp:
* Source/JavaScriptCore/b3/testb3.h:
* Source/JavaScriptCore/b3/testb3_1.cpp:
(run):
* Source/JavaScriptCore/b3/testb3_7.cpp:
(testInt52RoundTripUnary):
(testInt52RoundTripBinary):
Canonical link: https://commits.webkit.org/289679@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list