vec_sral: Vector Shift Right Arithmetic

d = vec_sral(a, b)
Performs an algebraic right shift for a vector by a given number of bits. Each element of the result is obtained by shifting the corresponding element of a right by the number of bits specified by the last 3 bits of every byte of b. The bits that are shifted out are replaced by copies of the most significant bit of the element of a.
Note: For z14 or below, the low-order 3 bits of all byte elements in b must be the same, otherwise the result is undefined.
Table 1. Vector Shift Right Arithmetic
d a b MIN ARCH
vector unsigned char vector unsigned char vector unsigned char z13®
vector signed char vector signed char z13
vector unsigned short vector unsigned short z13
vector signed short vector signed short z13
vector unsigned int vector unsigned int z13
vector signed int vector signed int z13
vector unsigned long long vector unsigned long long z13
vector signed long long vector signed long long z13