PAPI 7.1.0.0
Loading...
Searching...
No Matches
sunc/sparc.h File Reference
Include dependency graph for sunc/sparc.h:

Go to the source code of this file.

Macros

#define AO_HAVE_test_and_set_full
 

Functions

AO_TS_VAL_t AO_test_and_set_full (volatile AO_TS_t *addr)
 

Macro Definition Documentation

◆ AO_HAVE_test_and_set_full

#define AO_HAVE_test_and_set_full

Definition at line 38 of file sunc/sparc.h.

Function Documentation

◆ AO_test_and_set_full()

AO_TS_VAL_t AO_test_and_set_full ( volatile AO_TS_t addr)

Definition at line 33 of file avr32.h.

34 {
35 register long ret;
36
37 __asm__ __volatile__(
38 "xchg %[oldval], %[mem], %[newval]"
39 : [oldval] "=&r"(ret)
40 : [mem] "r"(addr), [newval] "r"(1)
41 : "memory");
42
43 return (AO_TS_VAL_t)ret;
44 }
#define AO_TS_VAL_t
Definition: gcc/hppa.h:44
Here is the call graph for this function: