vec_sld: Vector Shift Left Double by Byte
d = vec_sld(a, b, c)
Performs
a left shift for two concatenated vectors by a given number of bytes.
The result is the most significant 16 bytes obtained by concatenating a and b,
and shifting left by the number of bytes specified by c.
Figure 1. Bit-wise conditional select
of vector contents (128-bit)

d | a | b | c |
---|---|---|---|
vector unsigned char | vector unsigned char | vector unsigned char | 0 - 15 |
vector signed char | vector signed char | vector signed char | |
vector unsigned short | vector unsigned short | vector unsigned short | |
vector signed short | vector signed short | vector signed short | |
vector unsigned int | vector unsigned int | vector unsigned int | |
vector signed int | vector signed int | vector signed int | |
vector unsigned long long | vector unsigned long long | vector unsigned long long | |
vector signed long long | vector signed long long | vector signed long long | |
vector double | vector double | vector double |