mirror of
https://github.com/boostorg/atomic.git
synced 2026-02-03 08:42:08 +00:00
- Use dedicated registers to return success from compare_exchange methods. - Pre-initialize success flag outside asm blocks. - Use "+Q" constraints for memory operands in 64-bit operations. This allows to remove "memory" clobber. - Avoid using lots of conditional instructions in 64-bit compare_exchange operations. Simplify success flag derivation.