最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

gcc - Reproducing -Ox (O1, O2, etc.) Behavior with Specific Compiler Options - Stack Overflow

programmeradmin3浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论