vec_mulh: Vector Multiply High

d = vec_mulh(a, b)

Returns a vector containing the most significant ("high") half of results of performing a multiply operation using the given vectors. This function multiplies corresponding elements in the given vectors, the most significant half of the double element-sized product is assigned to the result of the corresponding elements in the result vector.

Table 1. Vector Multiply High
d a b MIN ARCH
vector unsigned char vector unsigned char vector unsigned char z13®
vector signed char vector signed char vector signed char z13
vector unsigned short vector unsigned short vector unsigned short z13
vector signed short vector signed short vector signed short z13
vector unsigned int vector unsigned int vector unsigned int z13
vector signed int vector signed int vector signed int z13