vec_rl: Vector Element Rotate Left

d = vec_rl(a, b)

Rotates each element of a vector left by a given number of bits. Each element of the result is obtained by rotating the corresponding element of a left by the number of bits specified by the corresponding element of b, modulo the number of bits in the element.

Table 1. Vector Element Rotate Left
d a b
vector unsigned char vector unsigned char vector unsigned char
vector signed char vector signed char
vector unsigned short vector unsigned short vector unsigned short
vector signed short vector signed short
vector unsigned int vector unsigned int vector unsigned 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