-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://bugs.webkit.org/show_bug.cgi?id=264041 Reviewed by Yusuke Suzuki. In addition to being redundant because of ctz existing, the lookup table in itself is slower due to the operations happening to the variable v before retrieving the value. Source: https://godbolt.org/z/Pnd9nPPbo * Source/JavaScriptCore/b3/B3ReduceStrength.cpp: Switch to WTF:ctz. * Source/WTF/wtf/MathExtras.h: (WTF::countTrailingZeros): Deleted. Canonical link: https://commits.webkit.org/270076@main
- Loading branch information
1 parent
3a66f00
commit 37c77f4
Showing
2 changed files
with
2 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters