How to know what has been optimized

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to know what has been optimized

1,304件の閲覧回数
da_chen
Contributor II

I wrote a program using MCUXpresso.

I found my code performs quite differently in different optimization settings. Is there any way to know what has been optimized while compiling the program? 

Environment:

IDE: MCUXpresso 10.3.1

Compiler: arm-none-eabi-gcc

0 件の賞賛
返信
1 返信

1,234件の閲覧回数
converse
Senior Contributor V

This describes the optimisation levels

Using the GNU Compiler Collection (GCC): Optimize Options 

(Also available in the docs supplied with MCUXpresso)

0 件の賞賛
返信