native 0.0.1
Vectors, masks and wide register packs for C++26
Loading...
Searching...
No Matches
MWAITX
Collaboration diagram for MWAITX:

Functions

static void native::mwaitx::monitor (volatile void *p) noexcept
static void native::mwaitx::mwait (std::uint32_t timer=0) noexcept native_blocking

Detailed Description

MONITORX and MWAITX require x86_feature::mwaitx, reported by extended CPUID leaf 0x80000001 ECX bit 29. No vector-state feature is required.

Function Documentation

◆ monitor()

void native::mwaitx::monitor ( volatile void * p)
staticnoexcept

Arm MONITORX for p; call only when supported is true.

Definition at line 129 of file native.x86.wait.ccm.

Here is the caller graph for this function:

◆ mwait()

void native::mwaitx::mwait ( std::uint32_t timer = 0)
staticnoexcept

Issue MWAITX with the supplied timer operand; monitor must already be armed.

Definition at line 132 of file native.x86.wait.ccm.

Here is the caller graph for this function: