__vpermxor

Purpose

Applies a permute and exclusive-OR operation on two byte vectors.

Prototype

vector unsigned char __vpermxor (vector unsigned char a, vector unsigned char b, vector unsigned char mask);

Result

For each i (0 <= i < 16), let indexA be bits 0 - 3 and indexB be bits 4 - 7 of byte element i of mask.

Byte element i of the result is set to the exclusive-OR of byte elements indexA of a and indexB of b.



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