xxmrgld
VSX Vector Merge Low Doubleword
Merges low doublewords from XA and XB.
Details
Merges the low (rightmost) doubleword from XA and the low doubleword from XB into the target register XT, placing XA's low doubleword in the high position and XB's low doubleword in the low position. This is a VSX instruction that operates on 128-bit vector registers and does not affect any condition or status flags.
Pseudocode Operation
XT[0:63] ← XB[64:127]
XT[64:127] ← XA[64:127]
Programming Note
The xxmrgld instruction is used to merge the low doublewords of two VSX registers into a target register. Ensure that the VSX facility is enabled by checking and setting the appropriate bit in the MSR register. Be cautious with the DM bits as they determine which doubleword from the source registers is placed into the target register's second doubleword position.
Example
Encoding
Operands
-
XT
Target -
XA
Src A -
XB
Src B