[Bug target/71191] aarch64 and others: __atomic_load;arithmetic;__atomic_compare_exchange loops should be able to generate better code with LL/SC-type constructs than a CAS loop

dhowells at redhat dot com gcc-bugzilla@gcc.gnu.org
Thu May 19 10:30:00 GMT 2016


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

--- Comment #3 from dhowells at redhat dot com <dhowells at redhat dot com> ---
Created attachment 38522
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38522&action=edit
atomic_add_unless() test code

Here's a .c file containing the C code I referenced.


More information about the Gcc-bugs mailing list