Re: [BENCHMARK] Corrected gcc3.2 v gcc2.95.3 contest results

Mark Hahn (hahn@physics.mcmaster.ca)
Tue, 24 Sep 2002 11:47:30 -0400 (EDT)


> > (And if there's more than a 1% variation between same kernel, compiled
> > with different compilers then the test is bust. Kernel CPU time is
> > dominated by cache misses and runtime is dominated by IO wait.
> > Quality of code generation is of tiny significance)
>
> Well, not exactly. If it is true that Intel/MS compilers beat GCC
> by 30% on code size, 30% smaller kernel ought to make some difference.

if you think that's true, then have you tried a modern GCC with -Os?

afaikt, this comparison of gcc's is primarily interesting because it might
show up some either misoptimizations or perhaps semantic problems in the
kernel (ie, perhaps violations of strict aliasing).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/