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.
Tool/software: TI C/C++ Compiler
I am having issues in setting up compiler optimization such that it uses MAC instruction. I have tried all the level of optimization level with "-mt" checked. I am using compiler version TI v6.2.0 and CC Studio 5.5. Can some one please give me a pointer to proceed or should I proceed with writing assembly function and call in C?
Instead of writing your own DSP routines, please see if one of the functions already implemented in C2000Ware solve your problem. If none of those work out, then ...
B Krishnan Iyer said:Can some one please give me a pointer to proceed
Please see if the article C2000 Performance Tips and Tricks is helpful.
Thanks and regards,
-George
Thanks George for the reply. I have installed C2000ware but they are no DSP examples like FFT for F28027 still, I tried to look into the sources and found fft16.asm where they are using DMAC instruction. As of the wiki link which is of great support but didn't much from the compiler side where I improve compiler optimization settings and it automatically selects MAC instruction.
I feel writing ASM function will be our only option.
Thanks
Krishnan
One more idea to consider. You are using these tools ...
B Krishnan Iyer said:compiler version TI v6.2.0 and CC Studio 5.5
That compiler is nearly 6 years old. Many improvements have been made since then. All the examples of improvement in the wiki article use version 6.4.x. I recommend you upgrade all the way to the most recent version 18.12.1.LTS. If you do that, you ought to upgrade CCS as well, to at least version 8.x. Since compiler version 18.12.x.LTS was never tested with CCS 5.5, I'm not sure how well that would work.
Thanks and regards,
-George