stxvll
Store VSX Vector with Length Left-justified
stxvll XS,RA,RB
Stores a left-justified vector from a VSX register to memory.
Details
Stores a variable-length left-justified portion of a VSX vector to memory. The number of bytes to store (0–16) is specified in the low-order 4 bits of RB; bytes are stored starting at the effective address (RA|0). This VSX instruction does not affect condition registers or status flags.
Pseudocode Operation
EA ← (RA|0)
length ← RB[60:63]
for i ← 0 to length-1 do
[EA+i] ← VSR[XS][8*i:8*i+7]
end for
Programming Note
stxvll always performs storage accesses using Big-Endian byte-ordering. As such, care must be taken when using these instructions in Little-Endian systems.
Example
stxvll vs1, r4, r5
Encoding
Binary Layout
0
0
S
1
RA
6
RB
11
SX
16
Operands
-
XS
VSX Register -
RA
Source General Purpose Register (Effective Address) -
RB
General Purpose Register containing the number of bytes to store