mirror of
https://github.com/boostorg/atomic.git
synced 2026-02-02 20:32:09 +00:00
Apparently, gcc versions up to 4.6, inclusively, have problems allocating eax:edx register pairs in asm statements for 32-bit x86 targets. Included those compilers in the existing workaround. Also, for clang removed the use of __sync-based workarounds for exchange() implementation and use the asm branch with the workaround. It should produce a more efficient code.