Compare for Equality, Single-Precision Floating-Point Values CMPEQSP

Notes:

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

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

Pipeline

 

 

Pipeline

E1

 

 

Stage

 

 

 

 

Read

src1

 

 

src2

 

Written

dst

 

Unit in use

.S

 

 

 

Instruction Type

Single-cycle

 

Delay Slots

0

 

Functional Unit

1

 

Latency

 

 

See Also

CMPEQ, CMPEQDP, CMPGTSP, CMPLTSP

Example

CMPEQSP .S1 A1,A2,A3

 

 

Before instruction

1 cycle after instruction

A1 C020 0000h

A2 4109 999Ah

A3 xxxx xxxxh

−2.5

A1

C020 0000h

 

 

 

8.6A2 4109 999Ah

A3 0000 0000h

−2.5

8.6

false

SPRU733

Instruction Set

3-85

Page 145
Image 145
Texas Instruments TMS320C67X/C67X+ DSP manual CMPEQ, CMPEQDP, CMPGTSP, Cmpltsp, Before instruction Cycle after instruction