[Bug target/103069] cmpxchg isn't optimized
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 22 18:41:33 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103069
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
_Pragma("GCC target \"relax-cmpxchg-loop\"")
should do that (ditto target("relax-cmpxchg-loop") attribute).
More information about the Gcc-bugs
mailing list