pub unsafe fn vec_slv(
a: vector_unsigned_char,
b: vector_unsigned_char,
) -> vector_unsigned_char
🔬This is a nightly-only experimental API. (
stdarch_powerpc
#111145)Available on (PowerPC or PowerPC-64) and target feature
power9-altivec
and PowerPC only.Expand description
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.