]> granicus.if.org Git - libatomic_ops/commit
Add AO_GENERALIZE_ASM_BOOL_CAS new macro to allow AO_compare_and_swap
authorIvan Maidanski <ivmai@mail.ru>
Wed, 9 Nov 2011 17:04:37 +0000 (21:04 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 11 Nov 2011 12:36:32 +0000 (16:36 +0400)
commit53a14c1d6eede42614ac0f7cd335cb76faf6e145
tree858377fb80b5f7c716a72c0e03f865f37abc014a
parent54005be1b388db8b55cf7993222c0f26cdfb614a
Add AO_GENERALIZE_ASM_BOOL_CAS new macro to allow AO_compare_and_swap
definition via AO_fetch_compare_and_swap instead of own ASM-based one

* src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_compare_and_swap): Do not
define if AO_GENERALIZE_ASM_BOOL_CAS.
* src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_and_swap): Likewise.
* src/atomic_ops/sysdeps/gcc/hexagon.h (AO_compare_and_swap):
Likewise.
* src/atomic_ops/sysdeps/gcc/powerpc.h (AO_compare_and_swap,
AO_compare_and_swap_acquire, AO_compare_and_swap_release,
AO_compare_and_swap_full): Likewise.
* src/atomic_ops/sysdeps/gcc/x86.h (AO_compare_and_swap_full):
Likewise.
* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_compare_and_swap_full):
Likewise.
* src/atomic_ops/sysdeps/sunc/x86.h (AO_compare_and_swap_full):
Likewise.
* src/atomic_ops/sysdeps/sunc/x86_64.h (AO_compare_and_swap_full):
Likewise.
src/atomic_ops/sysdeps/armcc/arm_v6.h
src/atomic_ops/sysdeps/gcc/arm.h
src/atomic_ops/sysdeps/gcc/hexagon.h
src/atomic_ops/sysdeps/gcc/powerpc.h
src/atomic_ops/sysdeps/gcc/x86.h
src/atomic_ops/sysdeps/gcc/x86_64.h
src/atomic_ops/sysdeps/sunc/x86.h
src/atomic_ops/sysdeps/sunc/x86_64.h