Function core::arch::powerpc::vec_cntlz

source ·
pub unsafe fn vec_cntlz<T>(a: T) -> T
where T: VectorCntlz,
🔬This is a nightly-only experimental API. (stdarch_powerpc #111145)
Available on (PowerPC or PowerPC-64) and target feature altivec and PowerPC only.
Expand description

Vector Count Leading Zeros

§Purpose

Returns a vector containing the number of most-significant bits equal to zero of each corresponding element of the source vector.

§Result value

The value of each element of r is set to the number of leading zeros of the corresponding element of a.