egcs 1.0 *faster* than Sun's C compiler!!!!
Harvey J. Stein
hjstein@bfr.co.il
Wed Dec 17 14:08:00 GMT 1997
Joe Buck <jbuck@synopsys.com> writes:
> > Thought you guys might like to see this:
>
> [ times for unspecified example deleted ]
>
> > Is it typical that gcc optimizes *better* than Sun's C compiler?
>
> In the past, my experience has been that gcc is sometimes faster,
> sometimes slower than Sun's compiler, and that at least for 2.7.2.x,
> I'd say Sun's was slightly better on average (though it's not hard
> to write programs where gcc does better).
>
> Before saying anything definite, we need to have done a rigorous
> benchmarking study or the compiler community will simply laugh at us.
There's no such thing as a rigorous benchmarking study. The variety
of applications is too varied. The only thing that's truly of value
is testing the app you're interested in. In this particular case, the
particular application I'm interested in runs 30% slower when compiled
with Sun's C compiler.
--
Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il
More information about the Gcc
mailing list