PAPI 7.1.0.0
Loading...
Searching...
No Matches
int_atomic_load.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AO_HAVE_int_load
 

Functions

AO_INLINE unsigned AO_int_load (const volatile unsigned *addr)
 

Macro Definition Documentation

◆ AO_HAVE_int_load

#define AO_HAVE_int_load

Definition at line 37 of file int_atomic_load.h.

Function Documentation

◆ AO_int_load()

AO_INLINE unsigned AO_int_load ( const volatile unsigned *  addr)

Definition at line 28 of file int_atomic_load.h.

29{
30# ifdef AO_ACCESS_int_CHECK_ALIGNED
32# endif
33 /* Cast away the volatile for architectures like IA64 where */
34 /* volatile adds barrier (fence) semantics. */
35 return *(const unsigned *)addr;
36}
#define AO_ASSERT_ADDR_ALIGNED(addr)
Definition: atomic_ops.h:266