lfdp
Load Floating-Point Double Pair
lfdp FRTp,disp(RA)
Loads a doubleword-pair from storage into an even-odd pair of FPRs.
Encoding
Binary Layout
0
0:5
FRTp
6:10
RA
11:15
DS
16:20
0
21:31
Operands
-
FRTp
Target Floating-Point Register Pair -
RA
Base General Purpose Register -
disp
Displacement
Example
lfdp f2, disp(RA)
Related
More in Floating-Point
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
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.
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.