We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am performing compiler optimization by changing the optimization level from 'None' to 'High' and using the 'Size' option, but without enabling any of the additional checkboxes (like function inlining, loop unrolling, etc.). Despite that, my code size reduces by up to 30%. What exactly does the compiler do behind the scenes to achieve this size reduction, even though I haven’t selected any of the additional optimization options?
I am using IAR ARM 9.60.3 workbench and i want to know:-1.What exactly this high optimization do without selecting any option available.2.Is it affect the working of my code or semantics of code
I cannot comment on IAR products. Please contact them directly.
My first response applies to Arm Compiler for Embedded (as provided with Arm Development Studio and Keil MDK).