Function vec_slv

#[target_feature(enable = "power9-altivec")]
pub unsafe fn vec_slv(a: vector_unsigned_char, b: vector_unsigned_char) -> vector_unsigned_char

Vector Shift Left Variable

Result value

Let v be a 17-byte vector formed from a in bytes [0:15] and a zero byte in element 16. Then each byte element i of r is determined as follows. The start bit sb is obtained from bits 5:7 of byte element i of b. Then the contents of bits sb:sb+7 of the halfword in byte elements i:i+1 of v are placed into byte element i of r.

Endian considerations

All bit and byte element numbers are specified in big-endian order. This intrinsic is not endian-neutral.