core::arch::x86

Function _blci_u32

1.27.0 ยท source
pub unsafe fn _blci_u32(x: u32) -> u32
Available on (x86 or x86-64) and target feature tbm and x86 only.
Expand description

Sets all bits of x to 1 except for the least significant zero bit.

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