* Re:Re: [2.6 patch] add a config option for -Os compilation
@ 2003-10-18 11:50 Matt
0 siblings, 0 replies; only message in thread
From: Matt @ 2003-10-18 11:50 UTC (permalink / raw)
To: bunk; +Cc: linux-kernel
> The main effect of -Os compared to -O2 (besides disabling some
> reordering of the code and prefetching) is the disabling of various
> alignments. I doubt that's a win on all CPUs.
Well the big win I found from -Os is the disabling of code inlining.
So I found I got much better code from -finline-limit=100. I
found this value after trial and error (via a bit of bench marking).
Mind you this is what works for my athlon.. Mind you the
difference isnt that huge.. I found turning on -Winline and
-finline-limit handy for finding the culprits of huge inlines..
matt
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-18 11:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-18 11:50 Re:Re: [2.6 patch] add a config option for -Os compilation Matt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).