The mwait instruction instructs the processor to enter a wait state in which the processor is instructed to monitor the address range between a and b and wait 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 or AMD documentation as appropriate.
Note: |
|---|
Some chips support the SSE3 intrinsics but do not support _mm_mwait and _mm_monitor.You should use __cpuid to determine whether this intrinsic is available. |
This routine is available only as an intrinsic.