VEC_SUMS(ARG1, ARG2)

Purpose

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

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) INTEGER(4) vector.
ARG2
An INTENT(IN) vector of the same type as ARG1.

Result type and attributes

The result is a vector of the same type as ARG1.

Result value

The first three elements of the result are 0. The fourth element is the saturated sum of all the elements of ARG1 and the fourth element of ARG2.