core::arch::x86_64

Function _mm_tzcnt_32

1.27.0 · Source
pub unsafe fn _mm_tzcnt_32(x: u32) -> i32
Available on (x86 or x86-64) and target feature bmi1 and x86-64 only.
Expand description

Counts the number of trailing least significant zero bits.

When the source operand is 0, it returns its size in bits.

Intel’s documentation