stxv
Store VSX Vector
Stores a 128-bit vector to memory (VSX aligned offset).
Details
For stxv, the contents of VSR[XS] are stored into memory at the effective address (EA), which is the sum of the contents of GPR[RA] and the value DQ sign-extended to 64 bits. If RA=0, EA is set to 0.
Pseudocode Operation
Programming Note
The stxv instruction stores a VSX vector from the VSR register to memory. Ensure that the VSX or Vector facility is enabled in the MSR register based on the SX field value. The effective address (EA) is calculated by adding the contents of GPR[RA] and the sign-extended DQ value. If RA is 0, EA defaults to 0. This instruction operates at user privilege level unless otherwise specified.
Example
Encoding
Operands
-
XS
Source -
DQ
Offset -
RA
Base -
disp
Displacement value -
VX
VSX Register -
RB
Index General Purpose Register -
VS32
Source VSX Register