2
* Copyright (c) 2003 by Hewlett-Packard Company. All rights reserved.
4
* This file is covered by the GNU general public license, version 2.
5
* see doc/COPYING for details.
8
/* This generates a compilable program. But it is really meant to be */
9
/* be used only with cc -E, to inspect the expensions generated by */
12
/* The result will not link or run. */
14
void list_atomicXX(void)
16
AO_T *addr, val, newval, oldval;
20
# if defined(AO_HAVE_nopXX)
26
# if defined(AO_HAVE_loadXX)
32
# if defined(AO_HAVE_storeXX)
33
"AO_storeXX(addr, val):";
34
AO_storeXX(addr, val);
38
# if defined(AO_HAVE_test_and_setXX)
39
"AO_test_and_setXX(tsaddr):";
40
AO_test_and_setXX(tsaddr);
42
"No AO_test_and_setXX";
44
# if defined(AO_HAVE_fetch_and_add1XX)
45
"AO_fetch_and_add1XX(addr):";
46
AO_fetch_and_add1XX(addr);
48
"No AO_fetch_and_add1XX";
50
# if defined(AO_HAVE_fetch_and_sub1XX)
51
"AO_fetch_and_sub1XX(addr):";
52
AO_fetch_and_sub1XX(addr);
54
"No AO_fetch_and_sub1XX";
56
# if defined(AO_HAVE_fetch_and_addXX)
57
"AO_fetch_and_addXX(addr, incr):";
58
AO_fetch_and_addXX(addr, incr);
60
"No AO_fetch_and_addXX";
62
# if defined(AO_HAVE_compare_and_swapXX)
63
"AO_compare_and_swapXX(addr, oldval, newval):";
64
AO_compare_and_swapXX(addr, oldval, newval);
66
"No AO_compare_and_swapXX";