Compiler Command-Line Interface
-no-std-lib
The
-no-std-lib
to limit its search for libraries to directories specified with the
(on page
1-31).
-no-widen-muls
The
-no-widen-muls
the compiler optimization which it performs on multiplication operations.
By default, the compiler, attempts to optimize integer multiplication
operations which are stored in a long result to utilize the double-word
MAC result registers of the ADSP-219x processors. The code produced
this way is better suited to the processor and therefore more efficient.
However, this optimization can generate overflow results which are not
consistent in some cases and may differ from expected results depending
on the optimizations enabled and the way that the source is written. The
inconsistency and differences are seen if an overflow and truncation of the
integer operands would normally occur.
When the optimization is applied, there is no truncation. When the opti-
mization is disabled, the result of overflow will be truncated to integer size
before being stored in the long result.
-nothreads
The
-nothreads
piled code and libraries used in the build need not be thread-safe. This is
the default setting when the
not used.
1-36
(disable standard library search) switch directs the linker
(disable widening multiplications) switch disables
(disable thread-safe build) switch specifies that all com-
-threads
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
(enable thread-safe build) switch is
for ADSP-219x DSPs
switch
-L
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers