core::arch::x86

Function _blcmsk_u32

1.27.0 ยท source
pub unsafe fn _blcmsk_u32(x: u32) -> u32
Available on (x86 or x86-64) and target feature tbm and x86 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.