[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


schedule

Description:

Specifies the use of instruction scheduling optimization.

Compatibility:

This pragma is compatible with the following platform targets:

68K

PowerPC

NEC V800
Intel x86
MIPS
Embedded 68K

Prototype:
  #pragma schedule once | twice | altivec Remarks:

This pragma lets you choose how many times the compiler passes object code through its instruction scheduler.

On highly optimized C code where loops have been unrolled by hand, running the scheduler once seems to give better results than running it twice, especially in functions that use the register specifier.

When the scheduler is run twice, it is run both before and after register colorizing. If it is only run once it is only run after register colorizing.

The default value for this pragma is twice. For related information see "no_register_coloring."


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000