VEC_SUM2S(ARG1, ARG2)

Purpose

Returns a vector containing the results of performing a sum across 1/2 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 of the same type as ARG1.

Result value

The first and third element of the result are 0. The second element of the result contains the saturated sum of the first and second elements of ARG1 and the second element of ARG2. The fourth element of the result contains the saturated sum of the third and fourth elements of ARG1 and the fourth element of ARG2.