Download TR0130 Nios II Embedded Tools Reference
Transcript
Nios II Embedded Tools Reference
C Compiler: −−tradeoff (−t)
Menu entry
1. From the Project menu, select Project Options...
The Project Options dialog box appears.
2. Expand the C Compiler entry and select Optimization.
3. In the Size/speed trade−off field, select a level between fully optimize for size or fully optimize for speed.
Command line syntax
−−tradeoff={0|1|2|3|4}
−t{0|1|2|3|4}
Description
If the compiler uses certain optimizations (option −−optimize), you can use this option to specify whether the used optimizations
should optimize for more speed (regardless of code size) or for smaller code size (regardless of speed).
By default the compiler optimizes for more speed (−−tradeoff=0).
If you have not used the option −−optimize, the compiler uses the default optimization. In this case it is still useful to
specify a trade−off level.
Related information
C compiler option −−optimize (Specify optimization level)
5−52
Related documents
Nios II Processor Reference Handbook
GU0111 Using the TSK3000 Embedded Tools
v1.1 ARM Tools Reference
TR0109 TSK3000 Embedded Tools Reference
GU0111 Using the TSK3000 Embedded Tools
PDF version - ARM Information Center
Altera Nios II Specifications
TR0109 TSK3000 Embedded Tools Reference
Lab 4 Instruction Manual
VAASAN AMMATTIKORKEAKOULU
DE2 Development and Education Board User Manual
Instruction Manual D2 3340