[webkit-changes] [WebKit/WebKit] 86d19a: [JSC] Use toInt32 directly when FJCVTZS_INSTRUCTIO...
Yusuke Suzuki
noreply at github.com
Fri Aug 9 00:35:08 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 86d19af64a2ce7f076201ba561bd08b7fc9580a6
https://github.com/WebKit/WebKit/commit/86d19af64a2ce7f076201ba561bd08b7fc9580a6
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-08-09 (Fri, 09 Aug 2024)
Changed paths:
M Source/JavaScriptCore/runtime/TypedArrayAdaptors.h
Log Message:
-----------
[JSC] Use toInt32 directly when FJCVTZS_INSTRUCTION exits for TypedArray conversion
https://bugs.webkit.org/show_bug.cgi?id=277847
rdar://133516949
Reviewed by Yijia Huang.
On ARM64, just using FJCVTZS is faster than once converting double with different conversion instruction.
We just use toInt32.
* Source/JavaScriptCore/runtime/TypedArrayAdaptors.h:
(JSC::IntegralTypedArrayAdaptor::toNativeFromDouble):
Canonical link: https://commits.webkit.org/282037@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