beautypg.com

Intsp – Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 181

background image

Convert Signed Integer to Single-Precision Floating-Point Value

INTSP

3-121

Instruction Set

SPRU733

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
dst

xsint
sp

.L1, .L2

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

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

Pipeline
Stage

E1

E2

E3

E4

Read

src2

Written

dst

Unit in use

.L

Instruction Type

4-cycle

Delay Slots

3

Functional Unit
Latency

1

See Also

INTDP, INTDPU, INTSPU

Example

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

Pipeline