Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Robert Harley <harley@corton.inria.fr>
Subject: Re: Compaq is sitting on a goldmine now that Linux is taking of
Date: 1998/11/24	[thread overview]
Message-ID: <rz7g1b8966w.fsf@corton.inria.fr> (raw)
In-Reply-To: 73eskl$tmv$1@tesla.EECS.Berkeley.EDU


Adam C. Powell, IV <adam.powell@nist.gov> wrote:
>He said that DEC engineers
>have looked over the back-end optimizations in egcs, and determined that it's
>pretty close to optimal here, not much more can be done.

Well that's obviously bull.  Just look over the ASM produced sometime
and it is quite obviously not scheduled optimally except sometimes by
luck, whereas the output of DEC's tools is always at least "locally"
optimal.

Try some experiments and you'll typically find that GCC on Digital
Unix with 'as' reordering the ASM is about half way between GCC with
'gas' and DEC C (I'm generalising to make a point, there's plenty of
variation).


peterm@tesla.EECS.Berkeley.EDU (Peter Mardahl) writes:
> You only mention Fortran.  I've found that DEC CXX produces binaries
> anywhere from 30% to 50% faster than egcs, and I've heard that DEC CC
> is similarly better.
>[...]
> I use DEC CXX and DEC CC over egcs whenever possible.

Well for speed-critical stuff I usually compile with everything I can
get my hands on and take a look at the ASM.  Here's are some example
measurements of iterations per second of some stuff:

   * 178 K (egcs 1.1, Haifa, -O2)
   * 190 K (egcs 1.0.3, Haifa, -O2)
   * 207 K (gcc 2.7.2.1, -O4)
   * 211 K (gcc 2.8.1, -O2)
   * 217 K (gcc 2.8.1, -O2 -freg-struct-return)
   * 218 K (cc V5.6-071, -O5).
   * 226 K (cc.alt V5.7-566, -O5).
   * 227 K (cc.alt2 T5.8-005, -O5).

Here's some more with a different program:

------------------------------------------------------------------------------
Iterations per second with version 1.02 on 500 MHz Personal Workstations.

Compiled    On      Ran on DU4      Ran on Linux
================================================
cc          DU4     344 K           344 K
cc.alt      DU4     366 K           365 K
cc.alt2     DU4     375 K           377 K
gcc         DU4     385 K           370 K
gcc         Linux   N/A             388 K
------------------------------------------------------------------------------

These were on some record-breaking humongous calculations and I
optimised the bejeezus out of the code.  It pays to try a bunch of
compilers and flags and pick the best.

My impression is that code written for other chips and "ported" to the
Alpha with no rewriting fairs well under DEC cc and badly under gcc.
However code written with RISC-isms and Alpha-isms in mind shows
little difference apart from the scheduling mentioned above.

Rob.



  reply	other threads:[~1998-11-24  5:00 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-15  5:00 Compaq is sitting on a goldmine now that Linux is taking of expoentially Edward Ing
1998-11-15  5:00 ` Peter Mardahl
1998-11-15  5:00   ` Jacob C Gladish
1998-11-17  5:00     ` Christopher Browne
1998-11-16  5:00       ` Peter Mardahl
1998-11-18  5:00         ` Christopher Browne
1998-11-17  5:00       ` Erik de Castro Lopo
1998-11-16  5:00         ` Peter Mardahl
1998-11-17  5:00           ` Joachim Wesner
1998-11-17  5:00             ` Peter Mardahl
1998-11-17  5:00               ` TERENCE MURPHY
1998-11-18  5:00           ` Randall Parker
1998-11-18  5:00             ` Peter Mardahl
1998-11-19  5:00               ` Compaq is sitting on a goldmine now that Linux is taking of Greg Lindahl
1998-11-20  5:00                 ` H.W. Stockman
1998-11-21  5:00                   ` Greg Lindahl
1998-11-24  5:00                   ` IX Corp.
1998-11-24  5:00                     ` Murx
1998-11-24  5:00                       ` Adam C. Powell, IV
1998-11-24  5:00                         ` Peter Mardahl
1998-11-24  5:00                           ` Robert Harley [this message]
1998-11-26  5:00                           ` Murx
1998-11-26  5:00                             ` Peter Mardahl
1998-11-26  5:00                               ` Murx
1998-11-26  5:00                                 ` Peter Mardahl
1998-11-19  5:00       ` Compaq is sitting on a goldmine now that Linux is taking of expoentially S S Sturrock
1998-11-15  5:00 ` Yu-Jen Ben Wang
1998-11-15  5:00 ` Vinhthuy Phan
1998-11-16  5:00 ` Compaq is sitting on a goldmine now that Linux is taking off expoentially hanneken
  -- strict thread matches above, loose matches on Subject: below --
1998-11-26  5:00 Compaq is sitting on a goldmine now that Linux is taking of c.simmendinger
1998-11-26  5:00 ` Murx
1998-11-26  5:00   ` Murx
1998-11-26  5:00     ` Murx
1998-11-26  5:00       ` H.W. Stockman
1998-11-27  5:00         ` Murx
1998-11-27  5:00       ` Wai-Sun Chia
1998-11-27  5:00         ` Murx
1998-11-27  5:00 ` Xavier GALLEZ
1998-11-27  5:00   ` Christian Hasse
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