vec_sum2s
Purpose
Returns a vector containing the results of performing a sum across 1/2 vector operation on two given vectors.
Syntax
d=vec_sum2s(a, b)Result and argument types
The type ofd, a, and b must
be vector signed int.Result value
The first and third elements of d are 0. The second element of d contains the saturated sum of the first and second elements of a and the second element of b. The fourth element of d contains the saturated sum of the third and fourth
elements of a and the fourth
element of b.
d[0] = 0
d[1] = a[0] + a[1] + b[1]
d[2] = 0
d[3] = a[2] + a[3] + b[3]