[Bug target/80878] -mcx16 (enable 128 bit CAS) on x86_64 seems not to work on 7.1.0

fw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Apr 18 17:23:50 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80878

--- Comment #21 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to Avi Kivity from comment #20)
> Note that clang generates cmpxchg16b when the conditions are ripe:
> 
> https://godbolt.org/z/j9Whgh

I believe this is a different, C++-specific issue. The C front end already
emits cmpxchgq in this situation.


More information about the Gcc-bugs mailing list