PowerPC e500 Core Family Reference Manual, Rev. 1
10-10
Freescale Semiconductor
Auxiliary Processing Units (APUs)
efdcfui
efdcfui
Convert Floating-Point Double-Precision from Unsigned Integer
efdcfui
rD,rB
rD
0:63
←
CnvtSI32ToFP64(rB
32:63
, UNSIGN, I)
The unsigned integer low element in rB is converted to a double-precision floating-point value
using the current rounding mode and the result is placed into rD.
Exceptions: None
efdcmpeq
efdcmpeq
Floating-Point Double-Precision Compare Equal
efdcmpeq crfD,rA,rB
al
←
rA
0:63
bl
←
rB
0:63
if (al = bl) then cl
←
1
else cl
←
0
CR
4*crD:4*crD+3
←
undefined || cl || undefined || undefined
rA is compared against rB. If rA is equal to rB, the bit in the crfD is set, otherwise it is cleared.
Comparison ignores the sign of 0 (+0 = -0).
Exceptions:
If the contents of rA or rB are Infinity, Denorm, or NaN, SPEFSCR[FINV] is set, and the FGH
FXH, FG and FX bits are cleared. If floating-point invalid input exceptions are enabled, an
interrupt is taken and the condition register is not updated. Otherwise, the comparison proceeds
after treating NaNs, Infinities, and Denorms as normalized numbers, using their values of ‘e’ and
‘f’ directly.
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
1
0
0
0
0
0
5
6
8
9
10 11
15 16
20 21
31
0
0
0
1
0
0
crf
D
0
0
r
A
r
B
0
1
0
1
1
1
0
1
1
1
0
Содержание 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...