__vpermxor, __builtin_altivec_crypto_vpermxor

Finalità

Applica un'operazione permute ed exclusive - OR su vettori a due byte.

Prototipo

vettore unsigned char __builtin_altivec_crypto_vpermxor (vettore unsigned char a, vettore unsigned char b, vettore unsigned char mask);

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

Nota:
  • La funzione integrata nel formato __name è un sinonimo di __builtin_altivec_crypto_name.
  • La funzione integrata sotto forma di __name viene fornita per la compatibilità con IBM® XL C/C++ for AIX® 16.1.0 o release precedenti. Questa funzione integrata potrebbe essere obsoleta in futuro.

Risultato

Per ogni i (0 < = i < 16), sia indexA bit 0 - 3 e indexB bit 4-7 dell'elemento byte i di mask.

L'elemento byte i del risultato è impostato sull'OR esclusivo degli elementi byte indexA di a e indexB di b.