PAPI 7.1.0.0
Loading...
Searching...
No Matches
char_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_char_load
 

Functions

AO_INLINE unsigned char AO_char_load (const volatile unsignedchar *addr)
 

Macro Definition Documentation

◆ AO_HAVE_char_load

#define AO_HAVE_char_load

Definition at line 37 of file char_atomic_load.h.

Function Documentation

◆ AO_char_load()

AO_INLINE unsigned char AO_char_load ( const volatile unsignedchar *  addr)

Definition at line 28 of file char_atomic_load.h.

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