_mm_mwait 

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.

Requirements

Intrinsic Architecture

_mm_mwait

Intel SSE3

Header file <intrin.h>

Remarks

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.

END Microsoft Specific

See Also

Reference

_mm_monitor
Compiler Intrinsics