xxlxor
VSX Vector Logical XOR
xxlxor XT, XA, XB
Bitwise XOR.
Details
The VSX Vector Logical XOR instruction performs a bitwise exclusive OR operation between the contents of two vector scalar registers (VSR) and stores the result in another vector scalar register. If the VSX facility is not available, it raises an exception.
Pseudocode Operation
Programming Note
The xxlxor instruction requires the VSX facility to be enabled; otherwise, it will raise an exception. Ensure that the VSX bit in the MSR register is set before using this instruction. The operation is performed on 128-bit vector registers, so ensure proper alignment and that the input registers contain valid data for accurate results.
Example
xxlxor vs1, vs2, vs3
Encoding
Binary Layout
60
0
XT
6
XA
11
XB
16
456
21
Operands
-
XT
Target -
XA
Src A -
XB
Src B