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

7)If underflow occurs, the INEX and UNDER bits are set and the results are set as follows (SPFN is the smallest floating-point number):

 

 

 

Underflow Output Rounding Mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Result Sign

Nearest Even

Zero

+Infinity

−Infinity

 

 

 

 

 

 

 

 

 

 

 

+

+0

+0

+SFPN

+0

 

 

 

 

−0

−0

−0

−SFPN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pipeline

 

 

 

 

 

Pipeline

E1

E2

E3

E4

 

 

Stage

 

 

 

 

 

 

 

Read

src2_l

 

 

 

 

 

src2_h

 

 

 

 

Written

 

 

 

dst

 

Unit in use

.L

 

 

 

 

 

 

 

 

 

Instruction Type

4-cycle

Delay Slots

3

Functional Unit

1

Latency

 

See Also

DPINT, DPTRUNC, INTSP, SPDP

Example

 

 

DPSP

.L1

 

Before instruction

 

A1:A0

 

 

 

 

4021

3333h

 

3333 3333h

 

 

 

 

 

 

 

 

 

 

 

 

A4

xxxx

xxxxh

 

 

 

 

 

 

 

 

 

A1:A0,A4

4 cycles after instruction

8.6

A1:A0

4021 3333h

4021 3333h

 

 

 

 

A4 4109 999Ah

8.6

8.6

SPRU733

Instruction Set

3-107

Page 167
Image 167
Texas Instruments TMS320C67X/C67X+ DSP manual DPINT, DPTRUNC, INTSP, Spdp