diexq.
DFP Insert Biased Exponent Quad X-form
diexq. RT,RA,RB
Inserts the biased exponent from a source register into a destination register in quad format.
Encoding
Binary Layout
111111
0:5
RT
6:10
RA
11:15
RB
16:20
11011
21:25
00010
26:30
Rc
31
Operands
-
RT
Target General Purpose Register -
RA
Source General Purpose Register -
RB
Source General Purpose Register
Example
diexq. r3, r4, r5
Related
More in Decimal Floating-Point
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
Inserts a biased exponent from a source general-purpose register into a quad-precision decimal floating-point number, replacing the exponent field of the destination. The instruction requires Decimal Floating-Point (DFP) support. The update form (indicated by the dot) sets condition register field CR0 based on the result classification (zero, normal, infinity, or NaN).
Operation
exponent ← RA[32:63]
RT ← insert_exponent_into_DFP_quad(RB, exponent)
if Rc = 1 then CR0 ← classify_DFP_result(RT)
Programming Note
When Rc=1, CR1 is set from the FPSCR[FX, FEX, VX, OX] bits immediately after the operation completes.