xxlnor

VSX Vector Logical NOR

xxlnor XT, XA, XB

Performs a logical NOR operation on the contents of two VSX registers and stores the result in another VSX register.

Encoding

Binary Layout
18
T
A
B
AX
BX
TX
 
Format XX3-form
Opcode 0xF0000510
Extension VSX

Operands

  • XT
    Target
  • XA
    Src A
  • XB
    Src B

Example

xxlnor vs1, vs2, vs3

Registers Altered

MSR

Related

More in VSX

Reference

Description

The contents of VSR[XA] are ORed with the contents of VSR[XB], then the complemented result is placed into VSR[XT].

Operation

if MSR.VSX=0 then
    VSX_Unavailable()
XT <- ¬(XA | XB)

Programming Note

The xxlnor instruction performs a logical NOR operation between two vector registers and stores the result in another. Ensure that the VSX (Vector Scalar Extensions) is enabled by checking and setting the MSR.VSX bit; otherwise, handle the VSX_Unavailable exception. This instruction operates on 128-bit vectors and requires proper alignment of the input and output registers.