Texas Instruments TMS320C6000 Series Reference Manual page 213

Table of Contents

Advertisement

CMPEQDP
Double-Precision Floating-Point Compare for Equality
Syntax
Opcode
31
29 28 27
creg
z
dst
3
5
Description
Execution
4-28
CMPEQDP (.unit) src1 , src2 , dst
.unit = .S1 or .S2
Opcode map field used...
src1
src2
dst
23 22
18 17
src2
5
This instruction compares src1 to src2 . If src1 equals src2 , 1 is written to dst .
Otherwise, 0 is written to dst .
if (cond)
{
if ( src1 == src2 ) 1
else 0
dst
}
else
nop
Special cases of inputs:
Input
src1
NaN
don't care
don't care
NaN
+/–denormalized
+/–0
+/–denormalized
+/–0
+/–denormalized +/–denormalized
+infinity
+infinity
–infinity
–infinity
For operand type...
dp
xdp
sint
13 12
11
src1
x
1 0 1 0 0 0
5
dst
src2
Output
0
NaN
0
NaN
0
+/–0
1
1
+/–0
1
1
+infinity
1
other
0
–infinity
1
other
0
Unit
.S1, .S2
6
5
4
3
2
1
0
0
0
6
FAUCR Fields
UNORD
INVAL
1
1
1
0
0
0
0
0
0
0
0
1
0
s
p
0
0
0
0
0
0
0
0
0
0
0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Tms320c67 seriesTms320c62 series

Table of Contents