Convert Single-Precision Floating-Point Value to Integer

SPINT

 

Pipeline

 

 

 

 

 

 

Pipeline

E1

E2

E3

E4

 

 

 

 

Stage

 

 

 

 

 

 

 

 

 

Read

src2

 

 

 

 

 

Written

 

 

 

dst

 

 

Unit in use

.L

 

 

 

 

 

 

 

 

 

 

 

Instruction Type

4-cycle

 

 

Delay Slots

3

 

 

 

Functional Unit

1

 

 

 

Latency

 

 

 

 

See Also

DPINT, INTSP, SPDP, SPTRUNC

 

Example

SPINT .L1 A1,A2

 

 

 

 

Before instruction

 

 

A1

 

8.6

A1

 

4109 9999Ah

 

 

 

 

 

 

 

 

 

 

 

A2

xxxx xxxxh

 

A2

 

 

 

 

 

4 cycles after instruction

4109

999Ah

8.6

 

 

 

 

 

 

0000

0009h

9

 

 

 

SPRU733

Instruction Set

3-229

Page 289
Image 289
Texas Instruments TMS320C67X/C67X+ DSP manual Spint, DPINT, INTSP, SPDP, Sptrunc