Download H8S, H8/300 Series C/C++ Compiler Package Application Note

Transcript
Section 4 HEW
Optimize: Specifies optimization items.
Dialog Menu
Subcommand
Function
All
Optimize
Enables all optimization items
Speed
Optimize∆speed
Performs optimization in speed
Safe
Optimize∆safe
Performs safe optimization
Custom
Optimize∆
Enables optimization item selection
Unify strings
String_unify
Unifies constant or string literal
Eliminate dead code
Symbol_delete
Deletes unreferenced symbols
Use short addressing
Variable_access
Uses short-absolute addressing mode
Reallocate registers
Register
Reallocates registers
Eliminate same code
Same_code
Eliminates same codes
Eliminated size:
Samesize
Specifies the object size for same code elimination
Use indirect call/jump
Function_call
Uses indirect addressing mode
Optimize branches
Branch
Optimizes branch instructions
Nooptimize
Disables optimization
Subcommand
Function
information
Displays optimized function name
None
Output information
Check Box
√
_
Displays no optimized function name
Generate optimize list
Dialog Menu
Subcommand
Function
-
Mlist [∆file name]
Outputs optimization information list
Symbol
show∆symbol
Outputs symbol optimization information
Reference
show∆reference
Outputs symbol reference count
Dialog Menu
Subcommand
Function
Elimination of dead code
Symbol_forbid
Specifies the name of variable or function in which
unreferenced symbol eliminating optimization is
disabled
Elimination of same code
Samecode_forbid
Specifies the name of the function in which same code
eliminating optimization is disabled
Use of short addressing to
Variable_forbid
Specifies the name of the variable in which optimization
using short-absolute addressing mode is disabled
Use of indirect call/jump to
Function_forbid
Specifies the name of the function in which optimization
using indirect addressing mode is disabled
Memory allocation in
Absolute_forbid
Specifies the address area to which address allocation
is not performed
Contents:
Forbid item:
Rev.3.00 2005.09.12 4-19
REJ05B0464-0300