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

Fwd: Re: GCC libatomic questions

2016-07-06 Thread Richard Henderson
Redirecting to the gcc list for discussion. I'll follow up on that thread directly. r~ Forwarded Message Subject:Re: GCC libatomic questions Date: Wed, 6 Jul 2016 10:27:20 -0700 From: Bin Fan Organization: Oracle Corporation To: Richard Henderson Hello R