stxvrdx

Store VSX Vector Rightmost Doubleword Indexed X-form

stxvrdx VX,RA,RB

Stores the rightmost doubleword of a VSX vector register to memory.

Details

Stores the rightmost (low-order) doubleword of the VSX vector register VX to memory at the address formed by RA + RB. This instruction is part of the VSX extension and operates on the 64-bit portion of the 128-bit VSX register.

Pseudocode Operation

EA ← (RA) + (RB)
[EA] ← VX[64:127]

Programming Note

The stxvrdx instruction is used to store the rightmost doubleword (8 bytes) of a VSX vector register to memory. Ensure that the effective address formed by RA and RB is properly aligned to 8 bytes to avoid alignment faults. This instruction requires supervisor or hypervisor privilege level.

Example

stxvrdx v1, r4, r5

Encoding

Binary Layout
31
0
XS
6
RA
11
RB
16
237
21
TX
31
 
Format X-form
Opcode 0x7C0001DA
Extension VSX

Operands

  • VX
    VSX Vector Register
  • RA
    Base Address General Purpose Register
  • RB
    Index General Purpose Register