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

Functions

static void native::umwait::monitor (volatile void *p) noexcept
static std::uint8_t native::umwait::mwait (std::uint64_t timer=0) noexcept native_blocking

Detailed Description

UMONITOR, UMWAIT and TPAUSE require x86_feature::waitpkg, reported by CPUID leaf 7 subleaf 0 ECX bit 5. No vector-state feature is required.

Function Documentation

◆ monitor()

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

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

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

Here is the caller graph for this function:

◆ mwait()

std::uint8_t native::umwait::mwait ( std::uint64_t timer = 0)
staticnoexcept

Issue UMWAIT with this absolute deadline operand; return the intrinsic status.

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

Here is the caller graph for this function: