From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13892 invoked from network); 13 Jan 1999 21:34:52 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 13 Jan 1999 21:34:52 -0000 Received: from notfoo.res.cmu.edu (NOTFOO.RES.CMU.EDU [128.2.91.65]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA11950 for ; Wed, 13 Jan 1999 16:12:24 -0500 Received: from localhost (rknepper@localhost) by notfoo.res.cmu.edu (8.8.5/8.6.9) with SMTP id QAA01708 for ; Wed, 13 Jan 1999 16:12:36 -0500 Date: Wed, 13 Jan 1999 16:12:35 -0500 (EST) From: "Ross A. Knepper" To: axp-list@redhat.com Subject: RE: Alpha 21264. In-Reply-To: <99011321530702.02833@Othello> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. -ross