Texas Instruments TMS320C67X/C67X+ DSP Car Speaker User Manual


 
Convert Signed Integer to Double-Precision Floating-Point Value INTDP
3-117 Instruction SetSPRU733
Convert Signed Integer to Double-Precision Floating-Point Value
INTDP
Syntax INTDP (.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 0 1 1 1 0 s p
3 1 5 5 1 1 1
Opcode map field used... For operand type... Unit
src2
dst
xsint
dp
.L1, .L2
Description The signed 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 DPINT, INTDPU, INTSP, INTSPU
Pipeline