Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cb3175ba136f5f967d466a1c2df488b6a178f875
https://github.com/WebKit/WebKit/commit/cb3175ba136f5f967d466a1c2df488b6a178f875
Author: Yusuke Suzuki <[email protected]>
Date: 2026-02-18 (Wed, 18 Feb 2026)
Changed paths:
M Source/JavaScriptCore/wasm/WasmBBQJIT.cpp
M Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp
Log Message:
-----------
[JSC] wasm trunc_sat instructions can be mapped to direct ARM64 instructions
https://bugs.webkit.org/show_bug.cgi?id=308125
rdar://170629064
Reviewed by Yijia Huang.
Wasm trunc_sat instructions' saturated handling is exactly aligned to
what ARM64 instructions do. Let's optimize them on ARM64 by using these
instructions directly.
* Source/JavaScriptCore/wasm/WasmBBQJIT.cpp:
(JSC::Wasm::BBQJITImpl::BBQJIT::truncSaturated):
* Source/JavaScriptCore/wasm/WasmOMGIRGenerator.cpp:
(JSC::Wasm::OMGIRGenerator::truncSaturated):
Canonical link: https://commits.webkit.org/307775@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications