C2800 Optimizing C/C++ Compiler Errata
From Texas Instruments Embedded Processors Wiki
Translate this page to
General Errata
- In section 7.3.2 How a Called Function Responds, bullet #6 mistakenly says XAR4 contains the address of where the structure is returned. It is actually XAR6.
- In section 7.4.5 Using Intrinsics to Access Assembly Language Statements, the intrinsic _dtoll is mistakenly shown. There is no such intrinsic in the C28x compiler.
- In table 7-2 Register Use and Preservation Conventions, the DP register should be listed as save on call.
Options Errata
- --ppm
- The Compiler User's Guide is missing information on the
-ppmswitch, used to generate a list of predefined and user defined macros. The details are: - -ppm[=filename]
- Generate a list of predefined and user defined macros for the source file into the file <filename>.pp and then exit. Optionally, name the output file. The output will include only those files directly included by the source file. Also see the -ppa option to continue compilation after generating the macro list (similar to gcc).
- This option became available starting with version 6.1.0.
- --no_const_clink
- The Compiler User's Guide is missing information about the
--no_const_clinkswitch. This switch prevents the compiler from generating .clink directives (conditional linking) for const global arrays. By default, these arrays are placed in a .const subsection and conditionally linked.
