plxvp

Prefixed Load VSX Vector Pair

plxvp XT, D(RA), R

Loads a 256-bit vector pair with 34-bit offset.

Encoding

Binary Layout
1
0:5
2
6:7
R
8
0
9:13
D0
14:31
58
32:37
XT
38:42
RA
43:47
D1
48:63
 
Format 8LS:D-form
Opcode 0x04000000E8000000
Extension Prefixed

Operands

  • XT
    Target
  • D
    Offset
  • RA
    Base
  • R
    PC-Rel

Example

plxvp vs1, 0(r4), 0

Registers Altered

MSR

Related

More in Prefixed

Reference

Description

Loads a 256-bit (32-byte) vector pair from memory using a 34-bit signed offset encoded as a 8-byte prefix + suffix. When R=0, the offset is relative to RA; when R=1, the offset is relative to the current instruction address. Requires VSX and Prefixed instruction support.

Operation

D ← EXTS(D0 || D1); EA ← (R=0 ? (RA) : NIA) + D; XT ← [EA]; (XT+1) ← [EA+16]

Programming Note

The plxvp instruction is used to load a pair of VSX vectors from memory into the VSRs. Ensure that the number of bytes specified in GPR[RB] does not exceed 16, as it will be clamped if it does. This instruction requires the VSX or Vector facility to be enabled in the MSR register, depending on the SX bit setting.