vec_mhadd: Vector Multiply and Add High

d = vec_mhadd(a, b, c)

Returns a vector containing the most significant ("high") half of the double element-sized results of performing a multiply-and-add operation for each corresponding set of elements of the given vectors. The value of each element of the result is the value of the most significant half of the double element-sized of the product of the values of the corresponding elements of a and b, added to the value of the corresponding element of c.

Table 1. Vector Multiply and Add High
d a b c
vector unsigned char vector unsigned char vector unsigned char vector unsigned char
vector signed char vector signed char vector signed char vector signed char
vector unsigned short vector unsigned short vector unsigned short vector unsigned short
vector signed short vector signed short vector signed short vector signed short
vector unsigned int vector unsigned int vector unsigned int vector unsigned int
vector signed int vector signed int vector signed int vector signed int