_mm_mwait
Visual Studio 2005
Microsoft Specific
Generates the mwait instruction.
void _mm_mwait( unsigned int a, unsigned int b, );
Parameters
- [in] a
-
The first operand.
- [in] b
-
The second operand.
The mwait instruction instructs the processor to enter a wait state in which the processor is instructed to monitor a certain address range waiting for an event or a store to that address range. The values of a and b are loaded into the ECX and EAX registers. For more information, see the Intel documentation.
This routine is only available as an intrinsic.