From: "Måns Rullgård" <mru@inprovide.com>
Subject: Re: Slow machine or slow compiler?
Date: Wed, 08 Dec 2004 12:04:04 +0100 [thread overview]
Message-ID: <yw1xsm6hnja3.fsf@ford.inprovide.com> (raw)
In-Reply-To: pan.2004.12.08.10.21.53.215191@staffan.tjernstrom.name
Staffan Tjernstrom <thisisafakeaddress@staffan.tjernstrom.name> writes:
>> Ive seen people saying that about Alpha gcc before and no doubt its true..
>> but since there isnt really an alternative to gcc, it does make it a
>> realworld benchmark doesnt it? Mystery untapped performance may as well not
>> be there as no one can unlock it with gcc..
>>
> There is an alternative (I'm not in a position to be able to say if it's
> faster or slower compile-time wise however).
>
> HP has Compaq's AXP-optimized c, c++ & fortran compilers available for
> download. By dint of some careful tinkering I have these installed for
> preference to the g* compilers, especially since the AXP architecture is
> very very very very very very very prone to being as slow as a pig if the
> compiler doesn't get things like alignment correct out of the box (an
> unaligned byte fetch completely breaks the pipelining, on Tru64 this can
> cause a 400%+ degredation in execution speeds!).
GCC does the right thing with alignment and such things. It just
produces less well optimized code, especially for floating point. For
integer code, the difference between gcc and ccc is rarely more than
10%, whereas for floating point, ccc often produces >30% faster code.
When using ccc, the floating point performance of the Alphas can be
quite impressive, compared to the toys from Intel. I have seen cases
where my 533 MHz pca56 would outperform a 1 GHz pentium3. (Some IBM
Power3 (I didn't have a Power4) units (running AIX) did quite well,
too.)
--
M�ns Rullg�rd
mru@inprovide.com
next prev parent reply other threads:[~2004-12-08 11:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-07 22:09 Slow machine or slow compiler? Tobias Klausmann
2004-12-07 22:16 ` Matt Simis
2004-12-07 22:22 ` Tobias Klausmann
2004-12-07 23:23 ` Mathieu Chouquet-Stringer
2004-12-07 23:34 ` Matt Simis
2004-12-08 0:07 ` Mathieu Chouquet-Stringer
2004-12-08 10:21 ` Staffan Tjernstrom
2004-12-08 11:04 ` Måns Rullgård [this message]
2004-12-08 11:43 ` Maurice Janssen
2004-12-08 4:14 ` Mathieu Chouquet-Stringer
2004-12-07 23:30 ` Matt Simis
2004-12-08 13:08 ` Tobias Klausmann
2005-01-03 18:48 ` exter_c
2005-01-03 18:49 ` exter_c
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox