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

Mark Hahn
2002-09-24T15:34:30Z

> > (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).