core::arch::x86_64

Function _mm_tzcnt_64

1.27.0 · Source
pub unsafe fn _mm_tzcnt_64(x: u64) -> i64
Available on x86-64 and target feature bmi1 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