Tool/software: Code Composer Studio
Hello,
We are porting our TMS320F28334 project from CCS3.3 to CCS9.1. We decided to stay with compiler v.5.2.15.
We are comparing the .OUT file generated with CCS3.3 and the one generated with CCS9.1 and those looks different.
We paid attention that the following compilation settings are different between two versions:
Default Project settings in CCS3.3 BEFORE MIGRATION:
Compiler->Basic->Optimize for Speed (-mf) = NO
Advanced->Optimize for Speed (-mf) = UNCHECKED
Default project settings in CCS9.1 AFTER MIGRATION:
Build->C2000 Compiler->Optimizations->Optimize for Speed (--opt_for_speed, -mf) = 2
We have several files with specific optimization settings -
File-specific settings in CCS3.3 BEFORE MIGRATION:
Compiler->Basic->Optimize for Speed (-mf) = NO
Advanced->Optimize for Speed (-mf) = CHECKED
File-specific settings in CCS9.1 AFTER MIGRATION:
Build->C2000 Compiler->Optimizations->Optimize for Speed (--opt_for_speed, -mf) = 4
Can you please explain why “Optimize for Speed (-mf)” appeared in two different places in CCS3.3 and how it is converted to CCS9.1 ?
Do you have any idea why do we get different .OUT files when using the same compiler ?
(we tried different “Optimize for Speed” settings, but the binaries are always different)
Thank you,
Oleg Romanov