PAPI 7.1.0.0
Loading...
Searching...
No Matches
short_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_short_load
 

Functions

AO_INLINE unsigned short AO_short_load (const volatile unsignedshort *addr)
 

Macro Definition Documentation

◆ AO_HAVE_short_load

#define AO_HAVE_short_load

Definition at line 37 of file short_atomic_load.h.

Function Documentation

◆ AO_short_load()

AO_INLINE unsigned short AO_short_load ( const volatile unsignedshort *  addr)

Definition at line 28 of file short_atomic_load.h.

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