From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11865 invoked from network); 14 Jan 1999 10:25:18 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 14 Jan 1999 10:25:18 -0000 Received: from mailserv.zib.de (mailsrv2.zib.de [130.73.121.11]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id FAA03580 for ; Thu, 14 Jan 1999 05:02:32 -0500 Received: from opts1.zib.de by mailserv.zib.de (SMI-8.6/ESMTP Sendmail 8.8.7/8.8.7) id LAA26680; Thu, 14 Jan 1999 11:02:03 +0100 Received: from opt10.zib.de by opts1.zib.de (8.8.8+Sun/SMI-SVR4) id LAA27052; Thu, 14 Jan 1999 11:02:03 +0100 (MET) Received: by opt10.zib.de (8.8.8+Sun/SMI-SVR4) id LAA08022; Thu, 14 Jan 1999 11:02:02 +0100 (MET) Date: Thu, 14 Jan 1999 11:02:02 +0100 From: Thorsten Koch To: axp-list@redhat.com Subject: Re: Alpha 21264. Message-ID: <19990114110201.A7993@zib.de> References: <99011400105700.03012@Othello> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <99011400105700.03012@Othello>; from Joachim Wesner on Wed, Jan 13, 1999 at 11:58:56PM +0100 X-Organisation: ZIB Berlin X-Address: Takustrasse 7, D-14195 Berlin-Dahlem On Wed, Jan 13, 1999 at 11:58:56PM +0100, Joachim Wesner wrote: > On Wed, 13 Jan 1999, Ross A. Knepper wrote: > > >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. That's not allways true, since at runtime the processor might know what a conditional branch will do, while at compile time you might have no idea. Also the time that is needed for some instructions is not known at compile time. So at run time the processor could execute instruction while waiting for a load or fpdiv. (Given of course there are no dependencys and there are execution units left.) > For example, does anybody know how gcc for Ultrasparc (latest version, can't > tell the exact code in the moment) compared to the original manufacturers > compiler rates ?? This is interesting, because only recently the 2nd real > 64-bit Linux was starting to materialize, Ultralinux 64 for Ultrasparc. From > what I read, the Ultrasparc CPU, highest version, is a heavily out-of-order and > register-renaming and ... CPU. Anybody got some details on benchmarks for > both compilers ?? > I have made some test with egcs and ultrasparc-II and alpha EV56 cpus. I think that they have nearly the same problems. I tested two very little pices of code and while on both cpus the compiler edmitted the same instructions, the scheduling was different given a 100 % time difference. On this test egcs was giving the fastest code, followed by the Sun Pro C compiler and gcc was slowest. Thorsten