xxlnand

VSX Vector Logical NAND

xxlnand XT, XA, XB

vD = ~(vA & vB)

Details

Performs a bitwise logical NAND operation on XA and XB, storing the result in XT. The operation is XT ← ~(XA & XB) on all 128 bits. No condition register or status field modifications occur.

Pseudocode Operation

XT ← ~(XA & XB)

Programming Note

The xxlnand instruction is commonly used for bitwise logical operations in VSX registers. Ensure that the source and target registers are properly aligned to avoid alignment faults. This instruction operates at user privilege level, but care should be taken to handle potential exceptions if unaligned access occurs.

Example

xxlnand vs1, vs2, vs3

Encoding

Binary Layout
60
0
XT
6
XA
11
XB
16
442
21
 
Format XX3-form
Opcode 0xF0000590
Extension VSX

Operands

  • XT
    Target
  • XA
    Src A
  • XB
    Src B