Use this panel to control compiler optimizations. The compiler's optimizer can apply any of its optimizations in either global or non-global optimization mode. You can apply global optimization at the end of the development cycle, after compiling and optimizing all source files individually or in groups.
The following figure shows the Optimization panel.
The following table lists the Optimization panel options for HC(S)08 compiler.
| Option | Description |
|---|---|
| Disable optimization ( -O0) | Refer to the -O0 : Disable Optimizations topic. |
| No integral promotion on characters ( -Cni) | Refer to the -Cni: No Integral Promotion on Characters topic. |
| Loop unrolling ( i[number]) ( -Cu) | Refer to the -Cu: Loop Unrolling topic. |
| Main Optimize Target: Optimize for | Refer to the -O(-Os, -Ot): Main Optimization Target topic. |
| Optimize dead assignments | Refer to the -Ous, -Ou, and -Onu: Optimize Dead Assignments topic. |
| Create sub-functions with common code | Refer to the -Of and-Onf: Create Sub-Functions with Common Code topic. |
| Dynamic options configuration for functions ( -OdocF) | Refer to the -OdocF: Dynamic Option Configuration for Functions topic. |
| Inlining ( C[n] or OFF) ( -Oi) | Refer to the -Oi: Inlining topic. |
| Disable alias checking ( -Ona) | Refer to the -Ona: Disable Alias Checking topic. |
| Do generate copy down information for zero values ( -OnCopyDown) | Refer to the -OnCopyDown: Do Generate Copy Down Information for Zero Values topic. |
| Disable CONST variable by constant replacement ( -OnCstVar) | Refer to the -OnCstVar: Disable CONST Variable by Constant Replacement topic. |
| Disable code generation for NULL Pointer to Member check ( -OnPMNC) | Refer to the -OnPMNC: Disable Code Generation for NULL Pointer to Member Check topic. |
| Large return value type | Refer to the -Rp (-Rpe, -Rpt): Large Return Value Type topic. |
| Optimize bitfields and volatile bitfields | Refer to the -Obfv: Optimize Bitfields and Volatile Bitfields topic. |
| Keep loop induction variables in registers | Refer to the -Ol: Try to Keep Loop Induction Variables in Registers topic. |
| Disable optimize bitfields | Refer to the -Onbf: Disable Optimize Bitfields topic. |
| Disable ICG level branch tail merging | Refer to the -Onbt: Disable ICG Level Branch Tail Merging topic. |
| Disable any constant folding | Refer to the -Onca: Disable any Constant Folding topic. |
| Disable constant folding in the case of a new constant | Refer to the -Oncn: Disable Constant Folding in Case of a New Constant topic. |
| Disable any low level common subexpression elimination | Refer to the -One: Disable any Low Level Common Subexpression Elimination topic. |
| Allocate local variables into registers | Refer to the -Or: Allocate Local Variables into Registers topic. |
| Disable frame pointer optimization ( -OnX) | Refer to the -OnX: Disable Frame Pointer Optimization topic. |