Skip to main content

reg_is_extended

Function reg_is_extended 

Source
pub unsafe extern "C" fn reg_is_extended(reg: reg_id_t) -> bool_
Expand description

Returns true iff \p reg refers to an extended register only available in 64-bit mode and not in 32-bit mode. For AVX-512, it also returns true for the upper 8 SIMD registers (e.g., R8-R15, XMM8-XMM15, XMM24-XMM31, ZMM24-ZMM31 etc.)

\note For 64-bit DR builds only.