pub fn bit_lowest_set_value_u32(a: u32) -> u32
Available with target feature bmi1 only.
Expand description

Gets the value of the lowest set bit in a u32.

If the input is 0 you get 0 back.

  • Formula: (!a) & a

  • Intrinsic: _blsi_u32

  • Assembly: blsi r32, r32