Convert Signed Integer to Single-Precision Floating-Point Value

 

INTSP

 

 

 

 

Convert Signed Integer to Single-Precision Floating-Point Value

 

 

INTSP

 

 

 

 

 

Syntax

 

 

 

 

INTSP (.unit) src2, dst

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.unit = .L1 or .L2

 

 

 

 

 

 

 

 

 

 

Compatibility

 

 

C67x and C67x+ CPU

 

 

 

 

 

 

 

 

 

 

Opcode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

31

29

28

27

23

22

18

17

13

12

11

5

4

3

2

1

0

creg

z

dst

src2

0 0 0 0 0 x 1 0 0 1 0 1 0

1 1 0

s p

3

1

5

 

5

1

1

1

 

 

 

 

 

 

 

 

 

 

Opcode map field used...

For operand type...

Unit

 

 

 

 

 

 

 

 

 

 

 

 

src2

 

xsint

.L1, .L2

 

 

 

 

dst

 

sp

 

 

 

 

 

Description

The signed integer value in src2 is converted to single-precision value and

 

 

 

placed in dst.

 

 

 

Execution

 

 

if (cond)

sp(src2) dst

 

 

 

 

 

 

else

nop

 

 

 

Pipeline

Instruction Type

Delay Slots

Functional Unit

Latency

See Also

Example

The only configuration bit that can be set is the INEX bit and only if the mantissa is rounded.

Pipeline

E1

E2

E3

E4

Stage

 

 

 

 

 

Read

src2

 

 

 

Written

 

 

 

dst

Unit in use

.L

 

 

 

 

 

 

 

 

4-cycle

3

1

INTDP, INTDPU, INTSPU

INTSP .L1 A1,A2

 

 

 

 

 

 

 

Before instruction

 

4 cycles after instruction

 

A1

 

 

 

 

 

 

 

 

1965

1127h

426053927

A1

1965

1127h

426053927

 

 

 

 

 

 

 

 

 

 

A2

xxxx

xxxxh

 

A2

4DCB

2889h

4.2605393

E08

 

 

 

 

 

 

 

 

 

SPRU733

Instruction Set

3-121

Page 181
Image 181
Texas Instruments TMS320C67X/C67X+ DSP manual INTDP, INTDPU, Intspu