__vpmsumw

Purpose

Performs the exclusive-OR operation on each even-odd pair of the polynomial-multiplication result of corresponding elements.

Prototype

vector unsigned int __vpmsumw (vector unsigned int a, vector unsigned int b);

Result

For each i (0 <= i < 4), let prod[i] be the result of polynomial multiplication of word elements i of a and b.

For each i (0 <= i < 2), each doubleword element i of the result is set as follows:
  • Bit 0 is set to 0.
  • Bits 1 - 63 are set to prod[2*i] (xor) prod[2*i+1].


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