S32DS set -O2(optimize more) to the C/C++ compiler, as compared to -O(none optimize)

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

S32DS set -O2(optimize more) to the C/C++ compiler, as compared to -O(none optimize)

2,064件の閲覧回数
王标王
Contributor I

Hi,  NXP experts 

On the optimization page, we change to O2 setting options. What will be optimized and what problems may be caused by this optimization, and could you please give me one or two examples to help explain the differences between -O2 and -O0.

Here is the options picture, thanks.

_0-1648699108886.png

 

0 件の賞賛
返信
1 返信

1,747件の閲覧回数
mikedoidge
NXP Employee
NXP Employee

Hello @王标王 ,

Probably you will find this article useful to answer your question.

https://gcc.gnu.org/onlinedocs/gcc-4.9.0/gcc/Optimize-Options.html

Best Regards,

Mike

0 件の賞賛
返信