d = vec_meadd(a, b, c)
Returns a vector containing a double element-sized results of performing a multiply-and-add operation for each of the even-indexed elements on the given vectors. The value of each element is the value of the double element-sized of the product of the values of the even-indexed elements of a and b, added to the value of the corresponding element of c.
d | a | b | c |
---|---|---|---|
vector unsigned short | vector unsigned char | vector unsigned char | vector unsigned short |
vector signed short | vector signed char | vector signed char | vector signed short |
vector unsigned int | vector unsigned short | vector unsigned short | vector unsigned int |
vector signed int | vector signed short | vector signed short | vector signed int |
vector unsigned long long | vector unsigned int | vector unsigned int | vector unsigned long long |
vector signed long long | vector signed int | vector signed int | vector signed long long |