[PATCH 5/5] x86: Define atomic_compare_and_exchange_{val,bool}_acq using __atomic_compare_exchange_n
Wilco Dijkstra
Wilco.Dijkstra@arm.com
Thu Sep 11 10:34:12 GMT 2025
Hi Uros,
> BTW: Do you also plan to change generic definition of
> atomic_full_barrier() and friends to:
>
> #ifndef atomic_full_barrier
> # define atomic_full_barrier() __atomic_thread_fence (__ATOMIC_SEQ_CST)
>#endif
Yes, I've sent this out: https://sourceware.org/pipermail/libc-alpha/2025-September/170051.html
There are a few more patches on the way to get rid of ATOMIC_EXCHANGE_USES_CAS
and __HAVE_64B_ATOMICS which allows almost all atomic-machine.h files to be removed.
Cheers,
Wilco
More information about the Libc-alpha
mailing list