xxlnand

VSX Vector Logical NAND

xxlnand XT, XA, XB

vD = ~(vA & vB)

Encoding

Binary Layout
60
0:5
XT
6:10
XA
11:15
XB
16:20
442
21:31
 
Format XX3-form
Opcode 0xF0000590
Extension VSX

Operands

  • XT
    Target
  • XA
    Src A
  • XB
    Src B

Example

xxlnand vs1, vs2, vs3

Related

More in VSX

Reference

Description

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.

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.