clang 20.0.0git
|
Go to the source code of this file.
Macros | |
#define | __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("mwaitx"))) |
Functions | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_monitorx (void *__p, unsigned __extensions, unsigned __hints) |
Establishes a linear address memory range to be monitored and puts the processor in the monitor event pending state. | |
static __inline__ void __DEFAULT_FN_ATTRS | _mm_mwaitx (unsigned __extensions, unsigned __hints, unsigned __clock) |
Used with the MONITORX instruction to wait while the processor is in the monitor event pending state. | |
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("mwaitx"))) |
Definition at line 18 of file mwaitxintrin.h.
|
static |
Establishes a linear address memory range to be monitored and puts the processor in the monitor event pending state.
Data stored in the monitored address range causes the processor to exit the pending state.
This intrinsic corresponds to the MONITORX
instruction.
__p | The memory range to be monitored. The size of the range is determined by CPUID function 0000_0005h. |
__extensions | Optional extensions for the monitoring state. |
__hints | Optional hints for the monitoring state. |
Definition at line 36 of file mwaitxintrin.h.
References __p.
|
static |
Used with the MONITORX
instruction to wait while the processor is in the monitor event pending state.
Data stored in the monitored address range, or an interrupt, causes the processor to exit the pending state.
This intrinsic corresponds to the MWAITX
instruction.
__extensions | Optional extensions for the monitoring state, which can vary by processor. |
__hints | Optional hints for the monitoring state, which can vary by processor. |
Definition at line 55 of file mwaitxintrin.h.