Re: Fwd: Re: GCC libatomic questions

2016-07-07 Thread Bin Fan
Hi, I have a revised version of the libatomic ABI draft which tries to accommodate Richard's comments. The new version is attached. The diff is also appended. Thanks, - Bin diff ABI.txt ABI-1.1.txt 28a29,30 > - The versioning of the library external symbols > 47a50,57 > Note > > Some 64-bit

Re: Fwd: Re: GCC libatomic questions

2016-07-06 Thread Richard Henderson
CMPXCHG16B is not always available on 64-bit x86 platforms, so 16-byte naturally aligned atomics are not inlineable. The support functions for such atomics are free to use lock-free implementation if the instruction is available on specific platforms. Except that it is available on almost all 64