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

The stxvrdx instruction stores the rightmost doubleword element of the VSX vector register VX to memory at the effective address formed by adding the contents of general-purpose register RA (or 0 if RA=0) and register RB. Only the rightmost (least significant) 8 bytes of the 128-bit VSX register are stored to memory. This instruction was introduced in PowerISA v3.1.

Pseudocode Operation

Not available in specification

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