Code: Select all
Score | So? | Switch (annotation)
------------------------------------------------------------------------------
34.0 | Maybe | -fforce-mem (-O2)
32.3 | Yes | -frename-registers (-O3)
32.1 | Yes | -funsafe-math-optimizations (fast math)
32.0 | Yes | -fcse-skip-blocks (-O2)
30.7 | Yes | -fdelete-null-pointer-checks (-O2)
29.6 | Yes | -fno-thread-jumps (! -O1)
29.5 | Yes | -fno-omit-frame-pointer (! -O1)
29.5 | Yes | -mieee-fp
29.3 | Maybe | -fno-math-errno (fast math)
28.2 | Maybe | -fstrict-aliasing (-O2)
27.9 | Maybe | -frerun-cse-after-loop (-O2)
27.8 | Yes | -finline-limit
27.7 | Yes | -mno-push-args
27.1 | Yes | -fno-signaling-nans (fast math)
26.9 | Yes | -falign-jumps (-O2 GCC 3.3)
26.6 | Yes | -malign-double
26.5 | Yes | -fno-defer-pop (! -O1)
26.3 | Maybe | -ffinite-math-only (fast math)
26.2 | Yes | -fsched-interblock (-O2 GCC 3.3)
25.5 | Maybe | -fno-trapping-math (fast math)
25.3 | Yes | -fno-cprop-registers (! -O1)
25.3 | No | -fgcse (-O2)
24.4 | Maybe | -fno-crossjumping (! -O1)
24.4 | Yes | -fcaller-saves (-O2)
24.3 | Maybe | -mno-align-stringops
23.5 | Maybe | -falign-loops (-O2 GCC 3.3)
23.4 | Yes | -maccumulate-outgoing-args
23.4 | Yes | -fno-if-conversion2 (! -O1)
23.4 | Maybe | -fno-merge-constants (! -O1)
23.0 | Maybe | -fno-delayed-branch (! -O1)
22.9 | Maybe | -fcse-follow-jumps (-O2)
22.8 | Maybe | -freorder-functions (-O2 GCC 3.3)
22.8 | Maybe | -freduce-all-givs
22.8 | Maybe | -fpeephole2 (-O2)
22.5 | Yes | -fsched-spec (-O2 GCC 3.3)
22.4 | Maybe | -fmove-all-movables
21.7 | Maybe | -falign-labels (-O2 GCC 3.3)
21.2 | Maybe | -minline-all-stringops
21.0 | Maybe | -fschedule-insns2 (-O2)
19.3 | No | -fexpensive-optimizations (-O2)
18.9 | Maybe | -ftracer
18.2 | No | -finline-functions (-O3)
18.1 | Maybe | -frerun-loop-opt (-O2)
16.9 | No | -foptimize-sibling-calls (-O2)
16.8 | No | -fno-guess-branch-probability (! -O1)
16.4 | Maybe | -freorder-blocks (-O2)
15.9 | No | -fno-if-conversion (! -O1)
15.1 | Maybe | -fstrength-reduce (-O2)
14.1 | No | -fregmove (-O2)
14.1 | No | -fomit-frame-pointer
14.1 | No | -fschedule-insns (-O2)
13.8 | No | -fprefetch-loop-arrays
12.9 | No | -fno-inline
9.3 | No | -funroll-loops
8.9 | No | -fno-loop-optimize (! -O1)
7.8 | No | -ffloat-store
7.6 | No | -fnew-ra
0.0 | No | -funroll-all-loops
0.0 | No | -mfpmath=387
0.0 | No | -mfpmath=sse
0.0 | No | -mfpmath=sse,387
0.0 | No | -momit-leaf-frame-pointer.) If the considered flag marked with Yes and it isn't in O2 opt set => I add it to my CFLAGS
.) If the considered flag marked with Yes and it's in O2 opt set => I don't add it to my CLAGS
.) If the considered flag marked with No and it's in O2 opt set => I add it to my CFLAGS with no- prefix
.) If the considered flag marked with No and it isn't in O2 opt set => I ignore it
This is the result (I've a Pentium 4-M)...
Code: Select all
CFLAGS="-march=pentium4 -mcpu=pentium4 -pipe -O2 -frename-registers -fno-thread-jumps -fno-omit-frame-pointer \
-mieee-fp -finline-limit=600 -mno-push-args -fno-signaling-nans -malign-double -fno-defer-pop -fno-cprop-registers \
-maccumulate-outgoing-args -fno-if-conversion2 -fno-gcse -fno-expensive-optimizations -fno-optimize-sibling-calls \
-fno-regmove -fno-schedule-insns"Which flag/s I can try to remove???
There is a test to try a new CFLAGS set without recomplile an important package???





