# if defined(AO_HAVE_test_and_setXX)
AO_TS_t ts;
# endif
-# if defined(AO_HAVE_XSIZE_fetch_and_addXX)
+# if defined(AO_HAVE_XSIZE_fetch_and_addXX) || defined(AO_HAVE_XSIZE_andXX) \
+ || defined(AO_HAVE_XSIZE_orXX) || defined(AO_HAVE_XSIZE_xorXX)
static XCTYPE incr /* = 0 */;
# endif
# else
(void)"No AO_XSIZE_fetch_and_sub1XX";
# endif
+# ifdef AO_HAVE_XSIZE_andXX
+ (void)"AO_XSIZE_andXX(&val, incr):";
+ AO_XSIZE_andXX(&val, incr);
+# else
+ (void)"No AO_XSIZE_andXX";
+# endif
+# ifdef AO_HAVE_XSIZE_orXX
+ (void)"AO_XSIZE_orXX(&val, incr):";
+ AO_XSIZE_orXX(&val, incr);
+# else
+ (void)"No AO_XSIZE_orXX";
+# endif
+# ifdef AO_HAVE_XSIZE_xorXX
+ (void)"AO_XSIZE_xorXX(&val, incr):";
+ AO_XSIZE_xorXX(&val, incr);
+# else
+ (void)"No AO_XSIZE_xorXX";
+# endif
# ifdef AO_HAVE_XSIZE_compare_and_swapXX
(void)"AO_XSIZE_compare_and_swapXX(&val, oldval, newval):";
AO_XSIZE_compare_and_swapXX(&val, oldval, newval);
# else
(void)"No AO_XSIZE_compare_and_swapXX";
# endif
+ /* TODO: Add AO_compare_double_and_swap_doubleXX */
+ /* TODO: Add AO_compare_and_swap_doubleXX */
# ifdef AO_HAVE_XSIZE_fetch_compare_and_swapXX
(void)"AO_XSIZE_fetch_compare_and_swapXX(&val, oldval, newval):";
AO_XSIZE_fetch_compare_and_swapXX(&val, oldval, newval);