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