Do not use asm-based 16-byte CAS if compiled with TSan (Linux/x64)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 28 Nov 2017 08:28:32 +0000 (11:28 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 30 Nov 2017 15:52:02 +0000 (18:52 +0300)
commit2258660c6adc4ad6eb56e950cbeffedc50e9fbb0
tree7643b54cd1ec8f58c57807c8ea24f970fa23651c
parenta4232e735bcefa11dbdf83a0a499a944fe04d5e9
Do not use asm-based 16-byte CAS if compiled with TSan (Linux/x64)
(fix commit c058d9d)

Thread Sanitizer does not know the semantic of the asm synchronization
instructions.

* src/atomic_ops/sysdeps/gcc/x86.h [x86_64 && !ILP32
&& __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 && AO_THREAD_SANITIZER]
(AO_compare_double_and_swap_double_full): Do not define.
src/atomic_ops/sysdeps/gcc/x86.h