core::arch::x86_64

Function _blci_u64

1.27.0 ยท Source
pub unsafe fn _blci_u64(x: u64) -> u64
Available on x86-64 and target feature tbm 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.