* src/atomic_ops/sysdeps/gcc/mips.h (AO_fetch_and_add,
AO_HAVE_fetch_and_add, AO_test_and_set, AO_HAVE_test_and_set): Do not
define if AO_PREFER_GENERALIZED.
}
#define AO_HAVE_nop_full
+#ifndef AO_PREFER_GENERALIZED
AO_INLINE AO_t
AO_fetch_and_add(volatile AO_t *addr, AO_t incr)
{
}
#define AO_HAVE_test_and_set
+ /* FIXME: Implement AO_and/or/xor primitives directly. */
+#endif /* !AO_PREFER_GENERALIZED */
+
#ifndef AO_GENERALIZE_ASM_BOOL_CAS
AO_INLINE int
AO_compare_and_swap(volatile AO_t *addr, AO_t old, AO_t new_val)
/* generated automatically (and AO_int_... primitives are */
/* defined properly after the first generalization pass). */
-/* FIXME: Implement AO_and/or/xor primitives directly. */
-
#define AO_T_IS_INT