VEC_SUBC(ARG1, ARG2)

Purpose

Returns a vector containing the carry produced by subtracting each set of corresponding elements of the given vectors.

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) UNSIGNED(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 value of each element of the result is the value of the carry produced by subtracting the value of the corresponding element of ARG2 from the value of the corresponding element of ARG1. The value is 0 if a borrow occurred, or 1 if no borrow occurred.