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.

Details

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

Pseudocode 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.

Example

xxlnor vs1, vs2, vs3

Encoding

Binary Layout
18
0
T
6
A
11
B
16
AX
21
BX
29
TX
30
 
Format XX3-form
Opcode 0xF00001D0
Extension VSX
Registers Altered MSR

Operands

  • XT
    Target
  • XA
    Src A
  • XB
    Src B