core::arch::x86_64

Function _blcmsk_u64

1.27.0 ยท Source
pub unsafe fn _blcmsk_u64(x: u64) -> u64
Available on x86-64 and target feature tbm only.
Expand description

Sets the least significant zero bit of x and clears all bits above that bit.

If there is no zero bit in x, it sets all the bits.