Function trailing_zero_count_u32
pub fn trailing_zero_count_u32(a: u32) -> u32 ⓘ
Available on crate feature
dep_safe_arch
only.Expand description
Counts the number of trailing zero bits in a u32
.
An input of 0 gives 32.
- Intrinsic:
_tzcnt_u32
- Assembly:
tzcnt r32, r32