CCS 5.5, TMS570LC43
I've got poor performances in overall with optimization options, even with the CACHE activate. (I can see a difference with CACHE activated so it seems really be activated). That's why I've tried all the options. I have to admit that it had not been always the case, something change in my code or project setting maybe that influence that, but I don't know what.
For instance, now I put a simple empty for loop somewhere (like 1000 loops) and it raises the CPU load like the hell. The is with or without optimization at all and for any optimization that I could build.
Specifically, the option level 4 doen't work properly for me, it almost never finished to link (I mean more than5 minutes!) using this option and the program crash or doen't seem to work properly. These symptoms are not there for other options.
Is it necessairy that all the code use the same optimization level ? In overall, I've test the same optimization for all the code but a couple of files that cause compile error if I use specific level. For instance, if I use optimization 3 or 4 level on some file, it hangs forever while compiling so I have to use 1 or 2 level.