Function core::arch::x86_64::_lzcnt_u64

1.27.0 · source · []
pub unsafe fn _lzcnt_u64(x: u64) -> u64
Available on x86-64 and target feature lzcnt only.
Expand description

Counts the leading most significant zero bits.

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

Intel’s documentation

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.