mirror of
https://github.com/boostorg/atomic.git
synced 2026-02-02 08:22:08 +00:00
The operations returning the result of the operation instead of the original value require less registers, so are more efficient. The exception is AArch64 LSE extension, which adds dedicated atomic instructions which are presumably more efficient than ll/sc loops.