_mm_mwait
TOC
Collapse the table of content
Expand the table of content

_mm_mwait

Visual Studio 2010

Microsoft Specific

Generates the mwait instruction.

void _mm_mwait( 
   unsigned int a, 
   unsigned int b, 
);

[in] a

The address of the beginning of a range.

[in] b

The address of the end of a range.

Intrinsic

Architecture

_mm_mwait

SSE3

Header file <intrin.h>

The mwait instruction is used with the monitor instruction to mark where the processor may wait for in implementation-specific event. 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.

NoteNote

Some chips support the SSE3 intrinsics but do not support _mm_mwait and _mm_monitor.You should use __cpuid, __cpuidex to determine whether this intrinsic is available.

This routine is available only as an intrinsic.

Adiciones de comunidad

AGREGAR
Mostrar:
© 2016 Microsoft