Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a0042af348458a9d9de2ec3f1636424c20163818
https://github.com/WebKit/WebKit/commit/a0042af348458a9d9de2ec3f1636424c20163818
Author: Yusuke Suzuki <[email protected]>
Date: 2026-09-03 (Thu, 03 Sep 2026)
Changed paths:
M Source/JavaScriptCore/llint/LowLevelInterpreter.asm
Log Message:
-----------
[JSC] Add "dc zva" zero-fill loop for sanitizeStackForVM
https://bugs.webkit.org/show_bug.cgi?id=323368
rdar://186606262
Reviewed by Marcus Plutowski.
This patch adds "dc zva" zero-fill code for sanitizeStackForVM.
Clearing stack can be dramatically large, and "dc zva" loop can be
faster to zero-fill these region. Currently we only allow it when
dczid_el0 is configured to be 4 in OS.
Also, for smaller size, stp is faster than stnp, so now "dc zva" handles
large region and stp will fill the gap.
We may apply the same to zero-filling locals at the top of interpreter,
and potentially using it in JIT as well as a subsequent change.
* Source/JavaScriptCore/llint/LowLevelInterpreter.asm:
Canonical link: https://commits.webkit.org/320475@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications