mfvsrld

Move From VSR Lower Doubleword

mfvsrld RA, XS

Moves the lower doubleword of a vector register to a general-purpose register.

Details

The mfvsrld instruction moves the contents of doubleword 1 from a Vector-Scalar Register (VSR) into a General-Purpose Register (GPR). The specific VSR is determined by the combination of SX and S fields, and the destination GPR is specified by RA.

Pseudocode Operation

RT <- VSRL[64:127]

Programming Note

Use mfvsrld to transfer data from a vector register's lower doubleword into a general-purpose register. Ensure that the VSR index (determined by SX and S fields) is correctly specified to avoid unintended data access. This instruction operates at user privilege level but will raise an exception if executed in supervisor mode with invalid register indices.

Example

mfvsrld r4, vs1

Encoding

Binary Layout
31
0
XS
6
RA
30
0
31
307
 
Format XX1-form
Opcode 0x7C000263
Extension VSX

Operands

  • RA
    Target GPR
  • XS
    Source VSR
  • RT
    Target General Purpose Register
  • VSRL
    Source Vector Register Lower Doubleword