vec_sums

Purpose

Returns a vector containing the results of performing a sum across vector operation on the given vectors.

Syntax

d=vec_sums(a, b)

Result and argument types

The type of d, a, and b must be vector signed int.

Result value

The first three elements of d are 0. The fourth element is the saturated sum of all the elements of a and the fourth element of b.