NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

TI Compilers and Industry Standards

From Texas Instruments Wiki
Jump to: navigation, search

Programming Language Standards[edit]

C standard[edit]

The TI compilers for all devices support

The TI compiler does not support

  • C11 (ISO/IEC 9899:2011)

See those links for details of the implementation and variations from the standard.

C++ standard[edit]

The TI compilers for ARM and MSP devices now support

The other targets do not yet support C++11 or C++14. They support:

These other targets do not support

  • C++ TR1
  • C++11 (ISO/IEC 14882:2011)
  • C++14 (ISO/IEC 14882:2014)

See those links for details of the implementation and variations from the standard.

Validation[edit]

TI performs extensive regression validation tests to ensure that the compiler generates correct programs for conforming C and C++ code.

IEEE 754[edit]

The TI ARM and C6000 C/C++ Compilers support 32-bit and 64-bit format binary floating point numbers conformant to that part of IEEE-754 (ISO/IEC/IEEE 60559) available in C89 features, with the following caveats:

  • Only when using a device that natively supports floating-point arithmetic
  • The --fp_mode=strict option must be specified
  • The --fp_reassoc=off option must be specified
  • Only one NaN, qNaN (quiet NaN) is supported
  • Only "round to nearest/even" mode is supported
  • The compiler may perform optimizations which do not preserve the floating-point exception behavior at run time

See IEEE 754 Support in TI Compilers for more details.

MISRA-C[edit]

The compiler provides options to check for select MISRA-C rules. See the C/C++ Compiler User's Guide for your target.

Other industry standards[edit]

Additional industry specific tests such as IEC61508 safety tests, automotive TÜV safety tests are the responsibility of the user.

However, see

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article TI Compilers and Industry Standards here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article TI Compilers and Industry Standards here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article TI Compilers and Industry Standards here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article TI Compilers and Industry Standards here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article TI Compilers and Industry Standards here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article TI Compilers and Industry Standards here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article TI Compilers and Industry Standards here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article TI Compilers and Industry Standards here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article TI Compilers and Industry Standards here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity