beautypg.com

Intspu – Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 182

background image

INTSPU

Convert Unsigned Integer to Single-Precision Floating-Point Value

3-122

Instruction Set

SPRU733

Convert Unsigned Integer to Single-Precision Floating-Point Value

INTSPU

Syntax

INTSPU (.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 0 1 1 1 0 s p

3

1

5

5

1

1

1

Opcode map field used...

For operand type...

Unit

src2
dst

xuint
sp

.L1, .L2

Description

The unsigned 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, INTSP

Example

INTSPU .L1X B1,A2

Before instruction

4 cycles after instruction

B1 FFFF FFDEh

4294967262

B1 C020 0000h

4294967262

A2 xxxx xxxxh

A2 4F80 0000h

4.2949673 E09

Pipeline