]> granicus.if.org Git - libatomic_ops/commit
Use C11 double-wide atomic intrinsics for Clang/x86 on Cygwin and OS X
authorIvan Maidanski <ivmai@mail.ru>
Sat, 20 Aug 2016 14:46:48 +0000 (17:46 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 20 Aug 2016 14:46:48 +0000 (17:46 +0300)
commitf6a1b686f03aa801ebed7a1799e62849a31b1d37
tree00194110fd5e170b0a222fa02648dcdbbaebec08
parent56a3f6d85600c08e0584684a9f15ccf283c53890
Use C11 double-wide atomic intrinsics for Clang/x86 on Cygwin and OS X

Others (e.g., NDK clang/i686) still might need -latomic linker option.

* src/atomic_ops/sysdeps/gcc/x86.h
[AO_GCC_ATOMIC_TEST_AND_SET && __clang__]: Do not fallback to
non-intrinsic implementation if __APPLE_CC__ or __CYGWIN__.
src/atomic_ops/sysdeps/gcc/x86.h