admin管理员组文章数量:1244440
I'm trying to reproduce the behavior of the -Ox optimization levels (such as -O1, -O2, etc.) using a collection of specific compiler options like -falign-jumps
. However, even though I use the -Q --help=optimizers
option to inspect the individual optimizations enabled by -Ox, I'm unable to generate the same output as when using -Ox directly.
Is there a way to correctly combine these individual options to match the -Ox behavior? Additionally, is there any other method to see exactly how the compiler unfolds these optimizations under -Ox?
I use the -Q --help=optimizers
option to inspect the individual optimizations enabled by -Ox, but I'm unable to generate the same output as when using -Ox directly.
Procedures for testing: CoreMark GCCversion:14.2
本文标签:
版权声明:本文标题:gcc - Reproducing -Ox (O1, O2, etc.) Behavior with Specific Compiler Options - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1740200624a2240147.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论