mtvsrdd
Move To VSR Double Double
mtvsrdd XT, RA, RB
Moves the contents of two general-purpose registers into a vector-scalar register (VSR) as doublewords.
Details
The mtvsrdd instruction moves the contents of GPR[RA] and GPR[RB] into the doublewords of VSR[XT]. If RA is zero, the first doubleword is set to zero. The second doubleword is always taken from GPR[RB].
Pseudocode Operation
Programming Note
For TX=0, mtvsrdd is treated as a VSX instruction in terms of resource availability. For TX=1, mtvsrdd is treated as a Vector instruction in terms of resource availability.
Example
mtvsrdd vs1, r4, r5
Encoding
Binary Layout
31
0
XT
6
RA
11
RB
16
435
21
/
Operands
-
XT
Target VSR -
RA
High GPR -
RB
Low GPR