This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: compiling linux kernels with GCC 3.0
On Wed, Oct 10, 2001 at 11:22:22AM -0700, Linus Torvalds wrote:
> On Wed, 10 Oct 2001, Joe Buck wrote:
> >
> > Since we've had some issues with performance regressions, but also have
> > some performance improvements especially for x86
>
> Has this actually been verified by _anybody_?
>
> I'm sorry to say that I have not heard of a single performance improvement
> on x86. I know, I know, it's been one of the touted features of 3.0.x, but
> I've not actually seen code that actually _runs_ faster, only code that is
> larger and slower.
I have. GNU Go runs faster. And as it's the only program I ever have to
sit around and wait for, this is a significant gain.
Compiling with -O2 -march=i686:
% ./gnugo-3.0.0-gcc2.95-march=i686 --quiet --seed 1 --benchmark 12
Result: W+14.0 13 moves played in 95.778 seconds
7.368 seconds/move
% ./gnugo-3.0.0-gcc3.0-march=i686 --quiet --seed 1 --benchmark 12
Result: W+14.0 13 moves played in 90.160 seconds
6.935 seconds/move
-M-