xxlor

VSX Vector Logical OR

xxlor XT, XA, XB

Bitwise OR.

Encoding

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

Operands

  • XT
    Target
  • XA
    Src A
  • XB
    Src B

Example

xxlor vs1, vs2, vs3

Registers Altered

MSR

Related

More in VSX

Reference

Description

Performs a bitwise logical OR of the contents of XA and XB, storing the result in XT. This is a VSX instruction that does not affect condition or status flags.

Operation

XT ← XA | XB

Programming Note

The xxlor instruction is used to perform a bitwise OR operation on two VSX registers. Ensure that the VSX facility is enabled by checking and setting the MSR.VSX bit; otherwise, a VSX_Unavailable exception will be raised. This instruction operates on 128-bit vectors and requires proper alignment of the input and output registers.