Motorola DSP56800 Guía de usuario Pagina 404

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 446
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 403
Pragmas for the DSP56800 and DSP56800E
Pragma Reference
404
Targeting MC56F83xx/DSP5685x Controllers
Remarks
If you enable this pragma, the compiler replaces multiple occurrences of one variable
with a single occurrence.
This pragma does not correspond to any panel setting in the C/C++ Language
panel.
To check this setting, use __option (opt_propagation), described in
Checking Settings
. By default, this pragma is disabled.
opt_strength_reduction
Controls the use of strength reduction optimization.
Prototype
#pragma opt_strength_reduction on | off | reset
Remarks
If you enable this pragma, the compiler replaces array element arithmetic instructions
with pointer arithmetic instructions to make loops faster.
This pragma does not correspond to any panel setting in the C/C++ Language
panel.
To check this setting, use __option (opt_strength_reduction), described
in Checking Settings
. By default, this pragma is disabled.
opt_strength_reduction_strict
Uses a safer variation of strength reduction optimization.
Prototype
#pragma opt_strength_reduction_strict on | off | reset
Remarks
Like the opt_strength_reduction
pragma, this setting replaces multiplication
instructions that are inside loops with addition instructions to speed up the loops.
However, unlike the regular strength reduction optimization, this variation ensures
Vista de pagina 403
1 2 ... 399 400 401 402 403 404 405 406 407 408 409 ... 445 446

Comentarios a estos manuales

Sin comentarios