Compare for Equality, Double-Precision Floating-Point Values CMPEQDP

Notes:

1)In the case of NaN compared with itself, the result is false.

2)No configuration bits besides those in the preceding table are set, except the NaNn and DENn bits when appropriate.

Pipeline

 

 

 

Pipeline

E1

E2

 

 

Stage

 

 

 

 

 

Read

src1_l

src1_h

 

 

src2_l

src2_h

 

Written

 

dst

 

Unit in use

.S

.S

 

 

 

 

Instruction Type

DP compare

 

Delay Slots

1

 

Functional Unit

2

 

Latency

 

 

See Also

CMPEQ, CMPEQSP, CMPGTDP, CMPLTDP

Example

CMPEQDP .S1

A1:A0,A3:A2,A4

Before instruction

2 cycles after instruction

A1:A0

A3:A2

A4

4021 3333h 3333 3333h

C004 0000h 0000 0000h

xxxx xxxxh

8.6A1:A0

−2.5

A3:A2

 

A4

4021 3333h 3333 3333h 8.6

C004 0000h 0000 0000h −2.5

0000 0000h false

SPRU733

Instruction Set

3-83

Page 143
Image 143
Texas Instruments TMS320C67X/C67X+ DSP manual Cmpeqdp .S1