[Bug target/105162] [AArch64] outline-atomics drops dmb ish barrier on __sync builtins
spop at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 5 21:18:13 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105162
Sebastian Pop <spop at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #52750|0 |1
is obsolete| |
--- Comment #3 from Sebastian Pop <spop at gcc dot gnu.org> ---
Created attachment 52755
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52755&action=edit
patch
LSE atomics do not need a barrier.
Updated the patch to only generate the barriers after outline-atomics calls.
More information about the Gcc-bugs
mailing list