lfdp

Load Floating-Point Double Pair

lfdp FRTp,disp(RA)

Loads a doubleword-pair from storage into an even-odd pair of FPRs.

Details

For lfdp, the doubleword-pair in storage addressed by EA is loaded into an even-odd pair of FPRs with the even-numbered FPR being loaded with the leftmost doubleword from storage and the odd-numbered FPR being loaded with the rightmost doubleword.

Pseudocode Operation

if RA = 0 then
    b ← 0
else
    b ← (RA)
EA ← b + EXTS(DS || 0b00)
FRTpeven ← MEM(EA, 8)
FRTpodd ← MEM(EA + 8, 8)

Programming Note

The instructions described in this section should not be used to access an operand in DFP Extended format when the processor is in Little-Endian mode.

Example

lfdp f2, disp(RA)

Encoding

Binary Layout
0
0
FRTp
6
RA
11
DS
16
0
21
 
Format DS-form
Opcode 0xE4000000
Extension Floating-Point

Operands

  • FRTp
    Target Floating-Point Register Pair
  • RA
    Base General Purpose Register
  • disp
    Displacement