From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21236 invoked from network); 13 Jan 1999 23:35:05 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 13 Jan 1999 23:35:05 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA17568 for ; Wed, 13 Jan 1999 18:12:34 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Wed, 13 Jan 1999 17:14:52 -0600 Received: by paralleldata.com from paralleldata.com (207.158.111.59::mail daemon; unverified,SLMail V2.5); Wed, 13 Jan 1999 17:14:51 -0600 Sender: "Wsb" Message-ID: <369D3754.BD6DA9F@paralleldata.com> Date: Thu, 14 Jan 1999 00:16:20 +0000 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Alpha 21264. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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