mfvsrld

Move From VSR Lower Doubleword

mfvsrld RA, XS

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

Encoding

Binary Layout
31
0:5
XS
6:10
RA
11:15
0
16:20
307
21:31
 
Format XX1-form
Opcode 0x7C000266
Extension VSX

Operands

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

Example

mfvsrld r4, vs1

Related

More in VSX

Reference

Description

Moves the lower doubleword of a VSR to a general-purpose register. This is a VSX instruction that does not affect condition registers or status fields.

Operation

RA ← XS[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.