[webkit-changes] [WebKit/WebKit] 8ec391: [JSC] Use _Float16 only on ARM64
Yusuke Suzuki
noreply at github.com
Mon Aug 12 18:36:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8ec391b67096934e7fa8ac15053abccc9ecce234
https://github.com/WebKit/WebKit/commit/8ec391b67096934e7fa8ac15053abccc9ecce234
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-08-12 (Mon, 12 Aug 2024)
Changed paths:
M Source/WTF/wtf/PlatformHave.h
Log Message:
-----------
[JSC] Use _Float16 only on ARM64
https://bugs.webkit.org/show_bug.cgi?id=277972
rdar://133706761
Reviewed by Mark Lam.
x64 Float16 implementation is subpar compared to ARM64 because of lack of CPU instructions.
And given that various issues around rt library, just using our C++ implementation would be better for x64.
We use `_Float16` only for ARM64, which has FP16 instructions, in particular on Apple platforms.
* Source/WTF/wtf/PlatformHave.h:
Canonical link: https://commits.webkit.org/282152@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