I would like to define a set of optimization sequences for the C input program to study the effect of my application sequences on code performance.
example:
gcc -fauto-inc-dec -fbranch-count-reg -fcombine-stack-adjustments ... test.c -o out.o
Does the order of these parameters affect the efficiency of the generated code?
Also, does applying the optimization parameter have an effect twice?
Is there a better way to test thousands of optimization sequences? As in -02 (including about 20 options), I would like to define my own flags
optimization c compiler-optimization gcc order
staticx
source share