lxvrdx
Load VSX Vector Rightmost Doubleword Indexed X-form
Loads a doubleword from memory into the rightmost element of a VSX vector register.
Details
The lxvrdx instruction loads a doubleword from memory into the rightmost element of a VSX vector register. The address is calculated by adding the contents of two general-purpose registers, RA and RB. If RA is zero, it is treated as zero. The loaded data is placed into doubleword element 1 of VSR[XT], with doubleword element 0 being set to zero.
Pseudocode Operation
Programming Note
The lxvrdx instruction is used to load a doubleword from memory into the rightmost element of a VSX vector register. Ensure that the VSX facility is enabled in the MSR register; otherwise, a VSX_Unavailable exception will be raised. The address calculation uses two general-purpose registers, RA and RB, where RA can be zero. Be cautious of alignment requirements for optimal performance and to avoid potential exceptions.
Example
Encoding
Operands
-
XT
Target VSX Vector Register -
RA
Source General Purpose Register (address base) -
RB
Source General Purpose Register (offset)