Shift Left Double by Word Immediate
Returns a vector by concatenating a and b and then left-shifting the result vector by multiples of 4 bytes. c specifies the offset for the shifting operation.
d=vec_sldw(a, b, c)
The following table describes the types of the returned value and the function arguments.
| d | a | b | c |
|---|---|---|---|
| vector bool char | vector bool char | vector bool char | 0–3 |
| vector signed char | vector signed char | vector signed char | |
| vector unsigned char | vector unsigned char | vector unsigned char | |
| vector bool short | vector bool short | vector bool short | |
| vector signed short | vector signed short | vector signed short | |
| vector unsigned short | vector unsigned short | vector unsigned short | |
| vector bool int | vector bool int | vector bool int | |
| vector signed int | vector signed int | vector signed int | |
| vector unsigned int | vector unsigned int | vector unsigned int | |
| vector bool long long | vector bool long long | vector bool long long | |
| vector signed long long | vector signed long long | vector signed long long | |
| vector unsigned long long | vector unsigned long long | vector unsigned long long | |
| vector float | vector float | vector float | |
| vector double | vector double | vector double |
After the left-shifting operation, the two concatenated operands that are in the 32-byte sequence by multiples of 4-bytes specified by operand c, the function takes the four leftmost words and forms a 16-byte result vector.