Texas Instruments TMS320C64X Programmer's Reference Manual page 98

Dsp little-endian dsp library
Hide thumbs Also See for TMS320C64X:
Table of Contents

Advertisement

DSP_recip16
Special Requirements None
Implementation Notes
Benchmarks
4-70
*(rexp++)=normal−15;
b=0x80000000;
for(j=15;j>0;j−−)
b=_subc(b,a);
b=b&0x7FFF;
if(neg) b=−b;
*(rfrac++)=b;
}
}
-
Bank Conflicts: No bank conflicts occur.
-
Interruptibility: The code is interruptible.
-
The conditional subtract instruction, SUBC, is used for division. SUBC is
used once for every bit of quotient needed (15).
Cycles
8 * nx + 14
Codesize
196 bytes
/* store exponent */
/* dividend = 1 */
/* divide */
/* clear remainder
/* (clear upper half) */
/* if originally
/* negative, negate */
/* store fraction */

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c64x+

Table of Contents