[−][src]Trait bitintr::Blci
Isolate lowest clear bit
Required methods
fn blci(self) -> Self
Sets all bits of self
to 1 except for the least significant zero bit.
If there is no zero bit in self
, it sets all bits.
Instructions
BLCI
:- Description: Isolate lowest clear bit.
- Architecture: x86.
- Instruction set: TBM.
- Registers: 32/64 bit.
Example
assert_eq!(0b0101_0000u8.blci(), 0b1111_1110u8); assert_eq!(0b1111_1111u8.blci(), 0b1111_1111u8);