[PATCH 5/5] x86: Define atomic_compare_and_exchange_{val,bool}_acq using __atomic_compare_exchange_n

Wilco Dijkstra Wilco.Dijkstra@arm.com
Wed Sep 10 19:05:46 GMT 2025


Hi Adhemerval,

> Yeap, I am preparing a patchset to cleanup atomic.h/atomic-machine.h even more.

Are you recreating [1] and [2], which removes all target atomics and the
atomic-machine.h headers for almost all targets? Note there are another
5 patches besides these...

[1] https://sourceware.org/pipermail/libc-alpha/2022-July/140817.html
[2] https://sourceware.org/pipermail/libc-alpha/2022-July/141125.html

Cheers,
Wilco


More information about the Libc-alpha mailing list