lxsiwax
Load VSX Scalar as Integer Word Algebraic Indexed
Loads a word from memory into the left-most doubleword element of a VSR, sign-extends it to 64 bits, and aligns it.
Details
The lxsiwax instruction loads a word from memory into the rightmost word of the left-most doubleword element of the target VSR. The remaining bits in the left-most doubleword are set to the copy of the sign bit of the loaded word.
Pseudocode Operation
Programming Note
The lxsiwax instruction is commonly used to load a 32-bit integer from memory into the left-most doubleword of a VSX register, with sign extension. Ensure that the VSX facility is enabled in the MSR register; otherwise, a VSX_Unavailable exception will be raised. The effective address (EA) must be properly calculated and aligned to a word boundary for optimal performance and correct data loading.
Example
Encoding
Operands
-
XT
Target -
RA
Base -
RB
Index -
VX
Target Vector-Specific Register