This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.0 *faster* than Sun's C compiler!!!!
- To: egcs at cygnus dot com
- Subject: Re: egcs 1.0 *faster* than Sun's C compiler!!!!
- From: hjstein at bfr dot co dot il (Harvey J. Stein)
- Date: 18 Dec 1997 00:08:03 +0200
- CC: hjstein at blinky dot bfr dot co dot il
- References: <199712171720.JAA05727@atrus.synopsys.com>
- Reply-To: egcs at cygnus dot com
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