2010-02-18 Ivan Maidanski <ivmai@mail.ru>
authorivmai <ivmai>
Thu, 18 Feb 2010 10:11:47 +0000 (10:11 +0000)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 25 Jul 2011 12:03:25 +0000 (16:03 +0400)
commit7d26873c8ab1038872b3ae6cddd796ab6bdaf9f4
tree3624b72db6f31048ff42ea84de1c68c3f4fef6f9
parent03e48c173c0a46abf8b3272b43f9c2e4f4f4170e
2010-02-18  Ivan Maidanski <ivmai@mail.ru>

* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_nop_full): Don't check
for AO_USE_PENTIUM4_INSTRS (since "mfence" (SSE2) is supported on
all x86_64/amd64 chips); remove the comment.
* src/atomic_ops/sysdeps/msftc/x86_64.h (AO_nop_full): Ditto.
* src/atomic_ops/sysdeps/msftc/x86_64.h (AO_nop_full): Define only
if AO_ASM_X64_AVAILABLE.
* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_compare_and_swap_full):
Use built-in __sync_bool_compare_and_swap() if GCC v4.2+.
ChangeLog
src/atomic_ops/sysdeps/gcc/x86_64.h
src/atomic_ops/sysdeps/msftc/x86_64.h