This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI Compiler 8.0.0

Hi,

We are currently using TI Compiler 7.3.5 for a C6670 and C6678 based project. We also utilize the HW accelerators of these DSPs.

With Compiler 7.3.x, we are unable to properly get back-traces with our code compiled for optimization (-O3 along with symdebug:dwarf & optimize_with_debug, or symdebug:skeletal) and we understand this is a known deficiency in the compiler.

We also understand that debug support has improved in Compiler 8.0. We have two questions:

- Does the new compiler properly support getting a back-trace from an exception, with full optimization enabled?

- Do you recommend usage of Compiler 8.0.0 over 7.4.x or 7.6.x for projects that make use of these processors? 

Thanks

  • Ran Yaniv1 said:
    We also understand that debug support has improved in Compiler 8.0.

    Details are contained in this wiki article.

    Ran Yaniv1 said:
    Does the new compiler properly support getting a back-trace from an exception, with full optimization enabled?

    I'm not sure, but I don't think so.  I'll get some help on that.

    Ran Yaniv1 said:
    Do you recommend usage of Compiler 8.0.0 over 7.4.x or 7.6.x for projects that make use of these processors? 

    Every compiler contains a file named readme.txt in the root of the installed package.  The readme for 8.0.x includes these lines ...

    The C6000 CGT v8.0.0 release is intended for MCSDK, OpenMP, and/or OpenCL project development. For new and existing general purpose C6000-based application development projects, we recommend the use of the latest available C6000 CGT v7.4.x release (v7.4.9 as of August 2014).

    So, in your particular case, the answer is no.

    Thanks and regards,

    -George

  • Ran Yaniv1
    Does the new compiler properly support getting a back-trace from an exception, with full optimization enabled?

    Yes, 8.0 improves debug information in the presense of optimization.  However, there are still some optimizations cases that can compromise the debug information.  You will have to try for yourself.

    The reason we do not recommend moving existing single core projects to 8.0 is because the improvements mainly benefit multicore platforms.  This debug improvement is one of the exception.  If the performance you get out of 8.0 meets your needs, you will be fine using it.

     

    Jon