beautypg.com

Intdpu – Texas Instruments TMS320C67X/C67X+ DSP User Manual

Page 179

background image

Convert Unsigned Integer to Double-Precision Floating-Point Value

INTDPU

3-119

Instruction Set

SPRU733

Convert Unsigned Integer to Double-Precision Floating-Point Value

INTDPU

Syntax

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

3

1

5

5

1

1

1

Opcode map field used...

For operand type...

Unit

src2
dst

xuint
dp

.L1, .L2

Description

The unsigned integer value in src2 is converted to a double-precision value
and placed in dst.

Execution

if (cond)

dp(src2) → dst

else

nop

You cannot set configuration bits with this instruction.

Pipeline
Stage

E1

E2

E3

E4

E5

Read

src2

Written

dst_l

dst_h

Unit in use

.L

If dst is used as the source for the ADDDP, CMPEQDP, CMPLTDP,
CMPGTDP, MPYDP, or SUBDP instruction, the number of delay slots can be
reduced by one, because these instructions read the lower word of the DP
source one cycle before the upper word of the DP source.

Instruction Type

INTDP

Delay Slots

4

Functional Unit
Latency

1

See Also

INTDP, INTSP, INTSPU

Pipeline