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

Transcript
Section 4 HEW
(b) [Details] Button: [Miscellaneous] Tab
Delete vacant loop
Check Box
Command Option
Function
√
del_vacant_loop=1
Eliminates the loop without statements inside.
_
del_vacant_loop=0
Disables elimination of vacant loops, even when there is no statements
inside the loop.
Specify maximum unroll factor
Dialog Menu
Command Option
Function
Default
max_unroll=2 or 1
2 or 1 is assumed as the maximum number of loops to be expanded.
Custom
max_unroll=
< numeric value >
Specifies the maximum number of loops to be expanded. An integer from
1 to 32 can be specified for <numeric value>.
Allocate registers to struct/union members
Check Box
Command Option
Function
√
struct_alloc=1
Allocates structure/union members to registers.
_
struct_alloc=0
Disables allocation of structure/union members to registers.
Command Option
Function
√
library=intrinsic
Performs inline expansion for memcpy and strcpy.
_
library=function
Makes function calls for memcpy and strcpy.
Inline memcpy/strcpy
Check Box
Rev.3.00 2005.09.12 4-61
REJ05B0464-0300