Function bit_lowest_set_value_u32
pub fn bit_lowest_set_value_u32(a: u32) -> u32 ⓘ
Available on crate feature
dep_safe_arch
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