Auxiliary Processing Units (APUs)
PowerPC e500 Core Family Reference Manual, Rev. 1
Freescale Semiconductor
10-19
efdtsteq
efdtsteq
Floating-Point Double-Precision Test Equal
efdtsteq 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). The comparison proceeds after treating NaNs,
Infinities, and Denorms as normalized numbers, using their values of ‘e’ and ‘f’ directly.
No exceptions are generated during the execution of efdtsteq If strict IEEE 754 compliance is
required, the program should use efdcmpeq.
efdtstgt
efdtstgt
Floating-Point Double-Precision Test Greater Than
efdtstgt 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 greater than rB, the bit in the crfD is set, otherwise it is cleared.
Comparison ignores the sign of 0 (+0 = -0). The comparison proceeds after treating NaNs,
Infinities, and Denorms as normalized numbers, using their values of ‘e’ and ‘f’ directly.
No exceptions are generated during the execution of efdtstgt. If strict IEEE 754 compliance is
required, the program should use efdcmpgt.
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
1
1
1
1
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
1
1
1
0
0
Summary of Contents for PowerPC e500 Core
Page 1: ...PowerPC e500 Core Family Reference Manual Supports e500v1 e500v2 E500CORERM Rev 1 4 2005...
Page 36: ...PowerPC e500 Core Family Reference Manual Rev 1 xxxvi Freescale Semiconductor...
Page 38: ...PowerPC e500 Core Family Reference Manual Rev 1 Part I 2 Freescale Semiconductor...
Page 332: ...PowerPC e500 Core Family Reference Manual Rev 1 Part II 2 Freescale Semiconductor...
Page 530: ...Opcode Listings PowerPC e500 Core Family Reference Manual Rev 1 D 50 Freescale Semiconductor...
Page 534: ...PowerPC e500 Core Family Reference Manual Rev 1 E 4 Freescale Semiconductor Revision History...