-O
The
(enable optimizations) switch directs the compiler to produce code
-O
that is optimized for performance. Optimizations are not enabled by
default for the
You can invoke this switch by selecting the Enable optimization
check box in the VisualDSP++ Project Options dialog box,
Compile tab, General category.
-Oa
The
(automatic function inlining) switch enables the inline expansion
-Oa
of C/C++ functions which are not necessarily declared inline in the source
code. The amount of auto-inlining the compiler performs is controlled
using the
(optimize for speed versus size) switch
–Ov
Therefore, use of
be auto-inlined whereas
auto-inlined. Specifying
When remarks are enabled, the compiler will produce a remark to
indicate each function that is inlined.
-Os
The
(optimize for size) switch directs the compiler to produce code
-Os
that is optimized for size. This is achieved by performing all optimizations
except those that increase code size. The optimizations not performed
include loop unrolling, some delay slot filling, and jump avoidance. The
compiler also uses a function to save and restore preserved registers for a
function instead of generating the more cycle-efficient inline default
versions.
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
compiler.
cc219x
indicates that as many functions as possible will
-Ov100
prevents any function from being
–Ov0
also implies the use of
-Oa
Compiler
(on page
1-38).
.
-O
1-37
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?