C/C++ Compiler Overview
Standard Conformance
Analog C compilers conform to the ISO/IEC 998:1990 C standard and
the ISO/IEC 14882:1998 C++ standard (in C++ mode) with a small num-
ber of currently unsupported features or areas of divergence.
Unsupported features are:
• Runtime-type information (RTTI) for C++ is not supported.
• Exceptions for C++ is not supported.
• ANSI features that require operating-system support are generally
not supported. This includes
• The
cc219x
NaN's, overflow and underflow conditions in their compiler sup-
port floating-point routines.
Areas of divergence from Standard:
• The
double
, not double precision 64-bit
floats
• The
cc219x
MAC instruction results to avoid having to explicitly promote inte-
ger operand multiplication to long. If the integer multiplication
result overflows the integer type, then the result is not truncated as
would be the case in strict ANSI terms. This behavior is disabled
using the
• Normal ANSI C external linkage does not specifically require stan-
dard include files to be used, although it is recommended. In most
cases, Analog C compilers do require standard include files to be
used. This is because build configurations and optimization levels
are used to select the correct and optimal implementation of the
functions. For example, the include files may redefine standard C
functions to use optimal compiler built-in implementations.
1-4
compiler does not provide comprehensive support of
type is defined in terms of a single precision 32-bit
compiler makes use of the DSP's double word (long)
compiler's"-no-widen-muls"
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
functionality in C.
time.h
.
floats
switch
(on page
for ADSP-219x DSPs
1-36).
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers