lxvpx
Load VSX Vector Paired Indexed X-form
lxvpx XTp,RA,RB
Loads a vector from memory into two VSR registers.
Encoding
Binary Layout
10011000
0:5
Tp
6:9
TX
10:14
RA
15:19
RB
20:31
Operands
-
XTp
Target Vector-Specific Register (VSR) index -
RA
Source General Purpose Register -
RB
Source General Purpose Register
Example
lxvpx vs2, r4, r5
Related
More in VSX
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
The contents of the octword in storage at address EA are placed into load_data. The order of bytes in load_data depends on the byte ordering (Little-Endian or Big-Endian). Bits 0-127 of load_data are placed into VSR[XTp], and bits 128-255 of load_data are placed into VSR[XTp+1].
Operation
if MSR.VSX=0 then
VSX_Unavailable()
EA ←((RA=0) ? 0 : GPR[RA]) + GPR[RB]
load_data ←MEM(EA,32)
VSR[32×TX+2×Tp] ←load_data.bit[ 0:127]
VSR[32×TX+2×Tp+1] ←load_data.bit[128:255]
Programming Note
For best performance, EA should be word-aligned.