PowerPC e500 Core Family Reference Manual, Rev. 1
10-8
Freescale Semiconductor
Auxiliary Processing Units (APUs)
efdcfs
efdcfs
Floating-Point Double-Precision Convert from Single-Precision
efdcfs
rD,rB
FP32format f;
FP64format result;
f
←
rB
32:63
if (f
exp
= 0) & (f
frac
= 0)) then
result
←
f
sign
||
63
0
// signed zero value
else if Isa32NaNorInfinity(f) | Isa32Denorm(f) then
SPEFSCR
FINV
←
1
result
←
f
sign
|| 0b11111111110 ||
52
1
// max value
else if Isa32Denorm(f) then
SPEFSCR
FINV
←
1
result
←
f
sign
||
63
0
else
result
sign
←
f
sign
result
exp
←
f
exp
- 127 + 1023
result
frac
←
f
frac
||
29
0
rD
0:63
= result
The single-precision floating-point value in the low element of rB is converted to a
double-precision floating-point value and the result is placed into rD. The rounding mode is not
used since this conversion is always exact.
Exceptions:
If the low element of rB is Infinity, Denorm, or NaN, SPEFSCR[FINV] is set. If
SPEFSCR[FINVE] is set, an interrupt is taken, and rD is not updated.
FG and FX are always cleared.
0
5
6
10 11
15 16
20 21
31
0
0
0
1
0
0
r
D
0
0
0
0
0
r
B
0
1
0
1
1
1
0
1
1
1
1
Содержание PowerPC e500 Core
Страница 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Страница 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Страница 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Страница 316: ...PowerPC e500 Core Family Reference Manual Rev 1 7 18 Freescale Semiconductor Performance Monitor...
Страница 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Страница 362: ...PowerPC e500 Core Family Reference Manual Rev 1 10 26 Freescale Semiconductor Auxiliary Processing Units APUs...
Страница 440: ...PowerPC e500 Core Family Reference Manual Rev 1 A 8 Freescale Semiconductor Programming Examples...
Страница 444: ...PowerPC e500 Core Family Reference Manual Rev 1 B 4 Freescale Semiconductor Guidelines for 32 Bit Book E...
Страница 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Страница 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...