mtvsrwa
Move To VSR Word Algebraic
mtvsrwa XT, RA
Moves the two's-complement integer in bits 32:63 of GPR[RA] to doubleword element 0 of VSR[XT], sign-extended to 64 bits.
Details
The two’s-complement integer in bits 32:63 of GPR[RA] is sign-extended to 64 bits and placed into doubleword element 0 of VSR[XT]. The contents of doubleword element 1 of VSR[XT] are undefined.
Pseudocode Operation
Programming Note
For TX=0, mtvsrwa is treated as a Floating-Point instruction in terms of resource availability. For TX=1, mtvsrwa is treated as a Vector instruction in terms of resource availability.
Extended Mnemonics
| Extended Mnemonic | Equivalent Instruction |
|---|---|
| mtfprwa | |
| mtvrwa |
Example
mtvsrwa vs1, r4
Encoding
Binary Layout
31
0
XT
6
RA
11
/
16
211
21
TX
31
Operands
-
XT
Target VSR -
RA
Source GPR -
VS
Target Vector Scalar Register