Texas Instruments TMS320C64X Manual de usuario Pagina 98

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 169
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 97
DSP_recip16
4-70
*(rexp++)=normal−15; /* store exponent */
b=0x80000000; /* dividend = 1 */
for(j=15;j>0;j−−)
b=_subc(b,a); /* divide */
b=b&0x7FFF; /* clear remainder
/* (clear upper half) */
if(neg) b=−b; /* if originally
/* negative, negate */
*(rfrac++)=b; /* store fraction */
}
}
Special Requirements None
Implementation Notes
- 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).
Benchmarks Cycles 8 * nx + 14
Codesize 196 bytes
Vista de pagina 97
1 2 ... 93 94 95 96 97 98 99 100 101 102 103 ... 168 169

Comentarios a estos manuales

Sin comentarios