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.
Youir,
I am not an expert in optimization, however I would suggest a good reference for optimization on the C6000 family of devices that can be very useful for your case (I assume you are using this family due to the #define clause above).
http://focus.ti.com/dsp/docs/dspsupporttechdocsc.tsp?sectionId=3&tabId=409&abstractName=spra666
The document also covers optimizations that go beyond the scope of the compiler alone, therefore it is definitely a good reading.
Hope this helps,
Rafael