14#if (AO_GNUC_PREREQ(4, 8) || AO_CLANG_PREREQ(3, 4)) \
15 && !defined(AO_DISABLE_GCC_ATOMICS)
21# include "../all_atomic_load_store.h"
23# include "../test_and_set_t_is_ao_t.h"
30# define AO_HAVE_nop_full
35 return __sync_fetch_and_add(p, incr);
37# define AO_HAVE_fetch_and_add_full
43 return __sync_val_compare_and_swap(addr, old_val, new_val
46# define AO_HAVE_fetch_compare_and_swap_full
#define AO_fetch_compare_and_swap_full(addr, old, newval)
AO_INLINE AO_t AO_fetch_and_add_full(volatile AO_t *p, AO_t incr)
AO_INLINE void AO_nop_full(void)