Convert Single-Precision Floating-Point Value to Double-Precision Floating-Point Value SPDP

Pipeline

 

 

 

Pipeline

E1

E2

 

 

Stage

 

 

 

 

 

Read

src2

 

 

Written

dst_l

dst_h

 

Unit in use

.S

 

 

 

 

 

If dst is used as the source for the ADDDP, CMPEQDP, CMPLTDP, CMPGTDP, MPYDP, or SUBDP instruction, the number of delay slots can be reduced by one, because these instructions read the lower word of the DP source one cycle before the upper word of the DP source.

Instruction Type

2-cycle DP

 

Delay Slots

1

 

 

 

Functional Unit

1

 

 

 

Latency

 

 

 

 

 

See Also

 

DPSP, INTDP, SPINT, SPTRUNC

Example

 

SPDP .S1X B2,A1:A0

 

 

Before instruction

 

B2

 

 

8.6

B2

4109 999Ah

 

 

 

 

 

 

 

 

 

 

 

 

 

A1:A0

xxxx xxxxh

 

xxxx xxxxh

 

A1:A0

 

 

 

 

 

 

2 cycles after instruction

4109

999Ah

 

 

 

 

 

 

 

4021

3333h

4000 0000h

 

 

 

8.6

8.6

SPRU733

Instruction Set

3-227

Page 287
Image 287
Texas Instruments TMS320C67X/C67X+ DSP manual DPSP, INTDP, SPINT, Sptrunc, Pipeline Stage Read