These use amoor and amoand rather than a loop.
Also define atomic_testandset_acq_(64|long) using amoor.aq.
Sponsored by: AFRL, DARPA
Differential D47627
riscv: Add implementations of atomic_testand(set|clear)_(32|64|long) jhb on Fri, Nov 15, 8:40 PM. Authored by
Details
Diff Detail
|