core::arch::x86_64

Function _bzhi_u64

1.27.0 · Source
pub unsafe fn _bzhi_u64(a: u64, index: u32) -> u64
Available on x86-64 and target feature bmi2 only.
Expand description

Zeroes higher bits of a >= index.

Intel’s documentation