stxvx
Store VSX Vector Indexed X-form
stxvx xW,r0,rPW
stxvx xX,r0,rPX
stxvx xY,r0,rPY
stxvx xZ,r0,rPZ
stxvx xX,r0,rPX
stxvx xY,r0,rPY
stxvx xZ,r0,rPZ
Stores a vector element from the VSX register file to memory.
Details
The stxvx instruction stores a vector element from the VSX register file to memory. The effective address (EA) is calculated by adding the contents of GPR[RA] and GPR[RB]. If RA is zero, EA is set to zero. The data is stored in big-endian byte order.
Pseudocode Operation
Programming Note
The stxvx instruction is used for storing VSX vectors to memory. The index value in XS is multiplied by 16 bytes.
Example
stxvx xw, r0, rpw
Encoding
Binary Layout
101100
0
XS
1
00000
6
rA
11
rB
16
00000
00000
00000
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