From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3626ccca6bb70e55 X-Google-Attributes: gid111c93,public From: Toon Moene Subject: Re: Compaq to port its Fortran and C compilers to Alpha Linux Date: 1999/04/08 Message-ID: <370CF898.BD85182@moene.indiv.nluug.nl>#1/1 X-Deja-AN: 464131698 Content-Transfer-Encoding: 7bit References: <87d81hkqw0.fsf@pfaffben.user.msu.edu> <7eemp3$11ap@news1.newsguy.com> <370BA607.1F391244@moene.indiv.nluug.nl> <7ei0gg$1kg$1@news.tuwien.ac.at> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@nl.uu.net X-Trace: zonnetje.NL.net 923597262 3584 195.109.255.217 (8 Apr 1999 18:47:42 GMT) Organization: Moene Computational Physics, Maartensdijk, The Netherlands Mime-Version: 1.0 NNTP-Posting-Date: 8 Apr 1999 18:47:42 GMT Newsgroups: comp.os.linux.alpha Anton Ertl wrote: > In article <370BA607.1F391244@moene.indiv.nluug.nl>, > I wrote: > [Digital compilers] > > I think I'll buy one when I have obtained an Alpha > > system to study the differences in code generation. > > I.e., if we want to write decent compilers for the Alpha, instead of > reading an optimization guide (which, e.g., Intel and AMD provide for > free for their CPUs) we have to buy a compiler from Compaq, look at > the code it generates, and then measure whether the things it does are > genuine optimizations or artifacts of the optimizer/code generator. > > And no, appendix A of the Alpha AXP Architecture reference manual does > not cut it. Its "factor of" terminology is unclear, and, e.g., it does > not explain the results I see on a 21264 when I vary > http://www.complang.tuwien.ac.at/forth/threading/direct.c. Hmmm, I didn't realize there's actual evidence that the information in the Alpha Architecture Manual is not sufficient - it's just that I do not believe we do anything "sufficiently wrong" in egcs-1.1.x which warrants such differences. Except for the cases were there *is* a clear difference in code generation: 1. (Unrolled) loops which use a 4-sqrts-at-a-time library routine (should be solved by the 21264). 2. Inefficient code for complex arithmetic (should be solved for egcs-1.2). -- Toon Moene (toon@moene.indiv.nluug.nl) Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Phone: +31 346 214290; Fax: +31 346 214286 g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com