lfd
Load Floating-Point Double D-form
Loads a double-precision floating-point value from memory into a floating-point register.
Details
The instruction loads the doubleword in storage addressed by EA into register FRT. The effective address (EA) is the sum of the contents of register RA, or the value 0 if RA=0, and the value D, sign-extended to 64 bits.
Programming Note
The lfd instruction is commonly used to load double-precision floating-point numbers from memory into a floating-point register. Ensure that the address specified by RA and D is properly aligned on an 8-byte boundary to avoid alignment exceptions. This instruction operates at user privilege level, so no special privileges are required.
Example
Encoding
Operands
-
FRT
Target Floating-Point Register -
RA
Source General Purpose Register -
D
16-bit signed displacement