Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e8e09d0cc146d3fcc254a10d37eb1d2b10a4d2b3
https://github.com/WebKit/WebKit/commit/e8e09d0cc146d3fcc254a10d37eb1d2b10a4d2b3
Author: Shu-yu Guo <[email protected]>
Date: 2025-09-19 (Fri, 19 Sep 2025)
Changed paths:
M Source/JavaScriptCore/assembler/MacroAssemblerX86_64.h
M Source/JavaScriptCore/assembler/testmasm.cpp
Log Message:
-----------
[JSC] Do not elide atomic and with -1 on x86
https://bugs.webkit.org/show_bug.cgi?id=298099
rdar://159443883
Reviewed by Yusuke Suzuki.
Seq-cst and with -1 cannot be optimized out on x86. Seq-cst stores must exist
for the seq-cst ordering guarantee. This PR disables the microoptimization if
the bitwise and is atomic.
This also fixes an issue with generating a dangling LOCK prefix.
Test: Source/JavaScriptCore/assembler/testmasm.cpp
Canonical link: https://commits.webkit.org/300245@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes