C2000 C/C++ CODE GENERATION TOOLS Release Notes 6.0.2 September 2011 ******************************************************************************* Table of Contents ******************************************************************************* 1. Defect History 2. Compiler Documentation Errata 3. Development Tools Forum 4. Defect Tracking Database 5. New Features in 6.0.1 5.1. Assembler Support for VCU 5.2. Link-time Optimization 6. Note on Release History ============================================================================== 1. Defect History ============================================================================== The list of defects fixed in this release as well as known issues can be found in the file DefectHistory.txt. ============================================================================== 2. Compiler Documentation Errata ============================================================================== Errata from the "TMS320C28x Optimizing C/C++ Compiler User's Guide" and the "TMS320C28x Assembly Language Tools User's Guide" is available online at the Texas Instruments Embedded Processors CG Wiki: http://tiexpressdsp.com/wiki/index.php?title=Category:CGT under the 'Compiler Documentation Errata' link. This Wiki has been established to assist developers in using TI Embedded Processor Software and Tools. Developers are encouraged to dig through all the articles. Registered users can update missing or incorrect information. ============================================================================== 3. Development Tools Forum ============================================================================== For development tools support please see the Texas Instruments engineer-to-engineer (E2E) Community and the Development Tools Forum at: http://e2e.ti.com/support/development_tools/default.aspx ============================================================================== 4. Defect Tracking Database ============================================================================== Compiler defect reports can be tracked at the Development Tools bug database, SDOWP. The log in page for SDOWP, as well as a link to create an account with the defect tracking database is found at: https://cqweb.ext.ti.com/pages/SDO-Web.html A my.ti.com account is required to access this page. To find an issue in SDOWP, enter your bug id in the "Find Record ID" box once logged in. To find tables of all compiler issues click the queries under the folder: "Public Queries" -> "Development Tools" -> "TI C-C++ Compiler" With your SDOWP account you can save your own queries in your "Personal Queries" folder. ============================================================================== 5. New Features in 6.0.1 ============================================================================== ------------------------------------------------------------------------------ 5.1. Assembler Support for VCU ------------------------------------------------------------------------------ The 6.0.1 assembler generates code for C28x devices with the VCU coprocessor. The coprocessor includes specialized instructions to support complex number arithmetic operations, FFT calculation, CRC calculation, and efficient software implementation of the Viterbi decoder. Full compiler support is not available for the VCU module; only an assembler is available. The assembler should be invoked through the shell using: cl2000 -v28 --vcu_spport=vcu0 to assemble code for the VCU. See the VCU Module Specification for more details on instructions. Some VCU instructions are pipelined, and the pipeline is unprotected. The user needs to insert NOPs to avoid conflicts. The assembler will report pipeline conflicts for VCU instructions. There is no prescribed RTS to be used with the VCU. The regular small/large model C28x libraries can be used, unless FPU32 object files are also getting linked - in which case, the FPU32 libraries must be used. ------------------------------------------------------------------------------- 5.2. Link-time Optimization ------------------------------------------------------------------------------- Support for link-time optimization (LTO) has been enabled for C2000 in this release. LTO is invoked by using the -o4 option. This optimization level increases the scope of optimizations to that of the entire application. To use LTO, you must first compile all your files with the -o4 option. At compile time, this option will embed information about your source into the object file, which can be used at link time to perform optimizations across files. At link-time the user should also specify the -o4 option, which will cause the linker to perform optimizations across files. If -o4 is not given at link time, the optimizations performed will be similar to those of -o3. The user should expect longer link times when using this option, due to the additional optimization being performed. ------------------------------------------------------------------------------- 6. Note on Release History ------------------------------------------------------------------------------- This release is numbered 6.0.1, but is actually the first production release for version 6.0. The beta versions of this release were made available in Code Composer Studio, which uses a slightly different version management scheme. The v6.0.1 compiler will be available as an update to the beta versions in CCS.