_xtest in core::arch::x86 - Rust
Description: Queries whether the processor is executing in a transactional region identified by restricted transactional memory (RTM) or hardware lock elision (HLE).

# Function core::arch::x86::_xtest

source ·

    pub unsafe fn _xtest() -> u8

🔬This is a nightly-only experimental API. (`stdsimd` #48556)
Available on (x86 or x86-64) and target feature `rtm` and x86 only.
Expand description

Queries whether the processor is executing in a transactional region identified by restricted transactional memory (RTM) or hardware lock elision (HLE).

Intel’s documentation.