lxsdx
Load VSX Scalar Doubleword Indexed
Loads a doubleword from memory into a VSX scalar register.
Details
The lxsdx instruction loads a doubleword from memory into the specified VSX scalar register. The address is calculated by adding the contents of two general-purpose registers, RA and RB. If RA is zero, the base address is considered to be zero.
Pseudocode Operation
Programming Note
The lxsdx instruction is commonly used to load a doubleword from memory into a VSX scalar register. Ensure that the VSX facility is enabled by checking and setting the appropriate bit in the MSR register. Be cautious of alignment requirements; while the instruction can handle unaligned accesses, performance may be improved with aligned data. This instruction operates at user privilege level but will raise an exception if the VSX facility is not available.
Example
Encoding
Operands
-
XT
Target VSX Scalar Register -
RA
Source General Purpose Register (Base Address) -
RB
Source General Purpose Register (Index)