VEC_PMSUM_BE(ARG1,ARG2)

Purpose

Performs an exclusive-OR operation by implementing a polynomial addition on each even-odd pair of the polynomial multiplication result of the corresponding elements.

This built-in function is valid only when -qarch is set to target POWER8® processors.

Class

Elemental function

Argument type and attributes

ARG1
An INTENT(IN) UNSIGNED(1), UNSIGNED(2), or UNSIGNED(4) vector
ARG2
An INTENT(IN) vector of the same type and type parameters as ARG1

Result type and attributes

If ARG1 is an UNSIGNED(1) vector, the result is an UNSIGNED(2) vector.

If ARG1 is an UNSIGNED(2) vector, the result is an UNSIGNED(4) vector.

If ARG1 is an UNSIGNED(4) vector, the result is an UNSIGNED(8) vector.

Result value

Each element i of the result vector is computed by an exclusive-OR operation of the polynomial multiplication of input elements 2*i of ARG1 and ARG2 and input elements 2*i + 1 of ARG1 and ARG2.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us