Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Tom Payne <thp@cs.ucr.edu>
Subject: Re: Alpha vs Pentium II
Date: 1998/06/22	[thread overview]
Message-ID: <6mm40j$drc$1@skylark.ucr.edu> (raw)
In-Reply-To: 358E14FE.6015@holyrood.ed.ac.uk


In comp.os.linux.misc S S Sturrock <sss@holyrood.ed.ac.uk> wrote:
: We're doing some fairly aggressive coding on our alpha 533 and with our
: initial results found that our code didn't go particularly fast so we
: started delving into the assembler to see what was happening, now we
: know what to do we have gone back to the C code, straightened it out and
: recompiled with egs1.03a -O2 and the code is much faster than
: previously, approximately twice as fast as it was before.

: The lesson from this is even in C you need to be aware of how a
: processor and compiler work if you really want your code to cook.  True
: for the Pentium too but you have a lot more room to work on an alpha.
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

If I understand correctly, like the original Pentium, the Alpha 21164
is multi-issue but doesn't do any on-the-fly code reordering, and
therefore the amount of parallelism it can achieve is very sensitive
to the code order chosen by the compiler.  Apparently, gcc doesn't
orders it code to miniimize register pressure and doesn't pay a lot of
attention to opportunities for parallel issue of instructions.  

The Pentium Pro and Pentium II, however, do their own reordering, and
we found that, while gcc-generated code did not enjoy the predicted
speedup when going from a 486 to a Pentium, it got more than the
expected speedup when going from a Pentium to a Pentium Pro.  

I'm told that the Alpha 21264 does on-the-fly reording, so I'd expect
it to show a very large speedup on gcc-generated code.

Tom Payne



  reply	other threads:[~1998-06-22  4:00 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <35863291.583249@news.uunet.be>
1998-06-14  4:00 ` Alpha vs Pentium II Albert Wiersch
1998-06-15  4:00   ` Mark Arrasmith
1998-06-15  4:00     ` Albert Wiersch
1998-06-15  4:00   ` Courageous
1998-06-14  4:00     ` Mark Arrasmith
1998-06-15  4:00       ` Courageous
1998-06-15  4:00         ` Joachim Wesner
1998-06-17  4:00           ` Toshinao Ishii
1998-06-15  4:00         ` Mark Arrasmith
1998-06-15  4:00           ` Courageous
1998-06-15  4:00             ` Mark Arrasmith
1998-06-15  4:00             ` Mark D. Dewing
     [not found]             ` <m31zspckq0.fsf@emlab2.nmsu.edu>
1998-06-23  4:00               ` Xtacy
1998-06-24  4:00                 ` Kristofer Coward
1998-06-25  4:00                   ` Dale Martin
1998-07-01  4:00             ` Georg Schwarz
1998-06-15  4:00           ` Rick van der Linde
1998-06-15  4:00         ` Steve Arons
1998-06-15  4:00         ` Andrew
     [not found]           ` <35864C02.11A4@holyrood.ed.ac.uk>
     [not found]             ` <w4ohg1lz88k.fsf@irtnog.org>
1998-06-18  4:00               ` Huisman G
1998-06-15  4:00     ` BadlandZ
1998-06-15  4:00   ` Martin Kahlert
1998-06-15  4:00     ` Bill Simpson
     [not found]       ` <6m3hr4$40e$1@otis.netspace.net.au>
1998-06-15  4:00         ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-06-15  4:00       ` Gerhard Niklasch
1998-06-15  4:00       ` Toon Moene
1998-06-17  4:00       ` Warner Bruns
1998-06-17  4:00         ` Courageous
1998-06-18  4:00           ` Jean-Marc Saffroy (GTM)
1998-06-18  4:00             ` Jochem Spohr
1998-06-18  4:00           ` Toon Moene
1998-06-19  4:00           ` NiXiE
1998-06-19  4:00         ` Warner Bruns
1998-06-19  4:00           ` Paul Rubin
1998-06-19  4:00         ` NiXiE
1998-06-20  4:00         ` Christopher Browne
1998-06-19  4:00           ` Peter Mardahl
1998-06-20  4:00             ` Kari Seppanen
1998-06-22  4:00               ` S S Sturrock
1998-06-22  4:00                 ` Tom Payne [this message]
1998-06-23  4:00                   ` S S Sturrock
1998-06-23  4:00                     ` Tom Payne
1998-06-23  4:00                     ` Joachim Wesner
1998-06-24  4:00                       ` Georg Acher
1998-06-24  4:00                         ` Arun Sharma
1998-06-24  4:00                           ` Toon Moene
1998-06-24  4:00                       ` S S Sturrock
1998-06-22  4:00                 ` Ian
1998-06-22  4:00               ` Jochem Spohr
1998-06-25  4:00     ` Matt Nelson
1998-06-25  4:00       ` Robert Harley
1998-06-25  4:00         ` Matt Nelson
1998-06-26  4:00           ` Toon Moene
1998-06-26  4:00             ` Matt Nelson
1998-06-28  4:00               ` Matt Kennel
1998-06-26  4:00         ` Azira
1998-06-26  4:00           ` Gary Rumble
1998-06-25  4:00       ` James D. Freels
1998-06-25  4:00         ` Paul Rubin
1998-06-27  4:00           ` Martin H�y
1998-06-27  4:00             ` Joachim Wesner
1998-06-29  4:00             ` Christian Hasse
1998-06-25  4:00         ` Matt Nelson
1998-06-26  4:00       ` Eric Frey
1998-06-26  4:00         ` Matt Nelson
1998-06-26  4:00       ` Martin Kahlert
1998-06-26  4:00         ` Ewald R. de Wit
1998-06-28  4:00           ` Matt Kennel
1998-06-26  4:00       ` Martin Kahlert
1998-06-15  4:00   ` Tuan Pham-Dinh
1998-06-15  4:00     ` Stephen Oberski
     [not found]     ` <01bd98ca$bf016f80$feb730d1@clay.greenvillenc.com>
1998-06-19  4:00       ` Joe Reynolds
1998-06-19  4:00         ` Donald G. Marchlenski
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