Download TASKING VX-toolset for C166 User Guide

Transcript
TASKING VX-toolset for C166 User Guide
Assembler option: --optimize (-O)
Menu entry
1.
Select Assembler » Optimization.
2.
Select one or more of the following options:
• Allow JMPA+/JMPA- for speed optimization
• Optimize generic instructions
• Optimize jump chains
• Optimize instruction size
Command line syntax
--optimize=flag,...
-Oflags
You can set the following flags:
+/-jumpa-speed
a/A
Allow JMPA+/JMPA- for speed optimization
+/-generics
g/G
Allow generic instructions
+/-jumpchains
j/J
Optimize jump chains
+/-instr-size
s/S
Optimize instruction size
Default: --optimize=agJs
Description
With this option you can control the level of optimization. For details about each optimization see
Section 7.4, Assembler Optimizations
When you use this option to specify a set of optimizations, you can turn on or off the optimizations in your
assembly source file with the assembler controls $optimize/$nooptimize.
Related information
Assembler control $OPTIMIZE
Section 7.4, Assembler Optimizations
478