core::arch::powerpc

Function vec_rl

Source
pub unsafe fn vec_rl<T>(a: T, b: <T as VectorRl>::Shift) -> T
where T: VectorRl,
🔬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 Rotate Left

§Purpose

Rotates each element of a vector left by a given number of bits.

§Result value

Each element of r is obtained by rotating the corresponding element of a left by the number of bits specified by the corresponding element of b.