Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Alpha 21264.
Date: Thu, 14 Jan 1999 00:16:20 +0000	[thread overview]
Message-ID: <369D3754.BD6DA9F@paralleldata.com> (raw)
In-Reply-To: Pine.LNX.3.95.990113160217.1588A-100000@notfoo.res.cmu.edu

Ross A. Knepper wrote:
> 
> On Wed, 13 Jan 1999, Joachim Wesner wrote:
> 
> > On Wed, 13 Jan 1999, Mailinglist --> PUBLIC wrote:
> > >(c) Will code already compiled for ev56 CPUs run efficiently on an ev6 CPU?
> > >
> > >The design is different, so for optimal performance you need to optimize for
> > >EV6.
> >
> > This is STILL pretty puzzling. Weren't we told that EV6 will be/is so much
> > more "brains" that is nearly automatically optimizes instruction sequence(s)
> > and register usage (e.g. register renaming etc.) that optimizing code
> > already by the compiler is much less critical than on ev5(6) ??
> 
> the 21264 is the first alpha which supports out-of-order execution. what
> this means, roughly, is that within a group of instructions fetched
> from memory, if the first one is still waiting on a dependancy (e.g. a
> load instruction -- slow!), it can go ahead and take the next 4
> instructions in line, and come back to the first one once the dependancy
> is satisfied.  the 21164 and previous would simply wait until the first
> instruction is ready to execute, doing nothing in the meantime.
> 
> however, the processor still has to ensure that the execution behaves
> exactly as if the instructions were executed in their specified order.
> imagine trying to keep track of many in-flight instructions and once and
> complete them all in-order by hand ... it is not a simple task!  (i've
> done it)  so, while the 21264 is much more flexible in execution than the
> 21164, it still has very little knowledge to work with.  by contrast, the
> compiler knows much more about what instructions are interchangeable, etc.
> the compiler also doesn't have buffer limitations, so it can look at much
> larger sections of code in order to re-order instructions.  that is why
> (particularly on the alpha), it will always help to have a better
> compiler.

I believe the 264 is capable of examining on the order of
60 asm instructions to decide what to do. That will fix
most of the stalls one sees using 164's. I would expect
a 21164 optimized binary would run well on the 264. The
21164 binary would already have the non-variable stuff
removed from critical loops so it has reasonable inner
loops, at least from what I've seen comparing my FORTRAN
to it's generated asm. It's not perfect, but it isn't
bad and the ability to look that far ahead should do
wonders. Assuming egcs has 264 scheduling added, it 
will help to re-compile at that point.

Re-compile would also be necessary to get any new instructions
though. Still would need egcs support for them.


Wes


  parent reply	other threads:[~1999-01-13 23:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-13 15:18 Alpha 21264 Mailinglist --> PUBLIC
1999-01-13 20:50 ` Joachim Wesner
1999-01-13 21:12   ` Ross A. Knepper
1999-01-13 22:58     ` Joachim Wesner
1999-01-14  6:45       ` Richard Henderson
1999-01-14 10:02       ` Thorsten Koch
1999-01-14 10:38         ` cdrecord and shmget Vladimir Kamenov
1999-01-14 11:31           ` Martin Ostermann
1999-01-14 16:46           ` Michal Jaegermann
1999-01-14  0:16     ` Wes Bauske [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-01-13 14:10 Alpha 21264 Andy Almond
1999-01-13 16:36 ` Jeff Sturm
1999-01-14  6:50   ` Richard Henderson
     [not found]     ` <rth@twiddle.net>
1999-01-14 16:17       ` Christoph Dworzak
1999-01-14 15:46         ` Greg Lindahl
1999-01-14 17:27         ` Richard Henderson
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