ADDSP Add Two Single-Precision Floating-Point Values

 

 

 

 

Pipeline

 

 

 

 

 

 

 

 

Pipeline

E1

E2

E3

E4

 

 

 

 

 

 

Stage

 

 

 

 

 

 

 

 

 

 

 

Read

src1

 

 

 

 

 

 

 

src2

 

 

 

 

 

 

Written

 

 

 

dst

 

 

 

Unit in use

.L or .S

 

 

 

 

 

 

 

 

 

 

 

 

Instruction Type

4-cycle

 

 

 

 

 

Delay Slots

3

 

 

 

 

 

Functional Unit

1

 

 

 

 

 

Latency

 

 

 

 

 

 

 

See Also

ADD, ADDDP, ADDU, SUBSP

 

 

 

 

Example

ADDSP .L1

A1,A2,A3

 

 

 

 

 

 

Before instruction

 

4 cycles after instruction

 

A1 C020 0000h

A2 4109 999Ah

A3 xxxx xxxxh

−2.5

A1

C020 0000h

 

 

 

8.6A2 4109 999Ah

A3 40C3 3334h

−2.5

8.6

6.1

3-62

Instruction Set

SPRU733

Page 122
Image 122
Texas Instruments TMS320C67X/C67X+ DSP manual ADD, ADDDP, ADDU, Subsp, Pipeline Stage Read