]> granicus.if.org Git - libatomic_ops/commit
Remove AO_T_IS_INT definition for GCC atomic intrinsics case
authorIvan Maidanski <ivmai@mail.ru>
Mon, 18 Apr 2016 07:19:20 +0000 (10:19 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 18 Apr 2016 07:19:20 +0000 (10:19 +0300)
commit5037981549c072ba8f4f71ae3575a49bc29e6ea6
tree920a0b016e32f0255efc4c0dad56044d1e0399e9
parented76ab0f2428478560d57284359c56ba3b33f2f7
Remove AO_T_IS_INT definition for GCC atomic intrinsics case
(Code refactoring)

In case of GCC/C11 atomic intrinsics are used, AO_int_* are defined in
generic-arithm.h and generic-small.h files.

* src/atomic_ops/sysdeps/gcc/arm.h (AO_T_IS_INT): Do not define if
AO_GCC_ATOMIC_TEST_AND_SET.
* src/atomic_ops/sysdeps/gcc/mips.h (AO_T_IS_INT): Likewise.
* src/atomic_ops/sysdeps/gcc/nios2.h (AO_T_IS_INT): Do not define.
src/atomic_ops/sysdeps/gcc/arm.h
src/atomic_ops/sysdeps/gcc/mips.h
src/atomic_ops/sysdeps/gcc/nios2.h