PAPI 7.1.0.0
Loading...
Searching...
No Matches
short_atomic_store.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_store
 

Functions

AO_INLINE void AO_short_store (volatile unsignedshort *addr, unsignedshort new_val)
 

Macro Definition Documentation

◆ AO_HAVE_short_store

#define AO_HAVE_short_store

Definition at line 35 of file short_atomic_store.h.

Function Documentation

◆ AO_short_store()

AO_INLINE void AO_short_store ( volatile unsignedshort *  addr,
unsignedshort  new_val 
)

Definition at line 28 of file short_atomic_store.h.

29{
30# ifdef AO_ACCESS_short_CHECK_ALIGNED
32# endif
33 *(unsignedshort *)addr = new_val;
34}
#define AO_ASSERT_ADDR_ALIGNED(addr)
Definition: atomic_ops.h:266