stxvx
Store VSX Vector Indexed X-form
stxvx xW,r0,rPW
Stores a vector element from the VSX register file to memory.
Encoding
Binary Layout
101100
0:5
XS
6:8
00000
9
rA
10
rB
11:15
00000
16:20
00000
21:30
00000
31
Operands
-
XS
VSX Register Index -
RA
Source General Purpose Register for Base Address -
RB
Source General Purpose Register for Offset -
xW
VSX Register containing the vector to store -
r0
General Purpose Register (typically used as zero register) -
rPW
Base address General Purpose Register for W -
rPX
Base address General Purpose Register for X -
rPY
Base address General Purpose Register for Y -
rPZ
Base address General Purpose Register for Z
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Stores a 128-bit VSX vector element to memory using indexed addressing in X-form. The effective address is computed as (RA|0) + RB, and the vector is stored with element size determined by the instruction form. This VSX instruction does not affect condition registers or status flags.
Operation
EA ← (RA|0) + RB
[EA] ← VSR[XS]
Programming Note
The stxvx instruction is used for storing VSX vectors to memory. The index value in XS is multiplied by 16 bytes.