From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,b79a29863eb727e7 X-Google-Attributes: gid111c93,public From: Toon Moene Subject: Re: gcc vs Dec Unix c Date: 1998/01/09 Message-ID: <695rc0$9h5$2@news.utrecht.NL.net>#1/1 X-Deja-AN: 314387733 References: <884291935.1575288842@dejanews.com> Organization: Moene Computational Physics, Maartensdijk, The Netherlands Newsgroups: comp.os.linux.alpha fonte@pc2.nmrlab.hscsyr.edu wrote: > We have a Dec Alpha (EV56-LX 533 MHz w/ a NCR PCI Ultra SCSI > controller) running linux (RedHat 5.0). The floating point performance > is poor. From reading the news groups it seems the gcc compiled > executable is much slower then Dec's and the solution is to compile under > Dec Unix and then switch back to Linux. Is this the best solution (if we > don't want to covert our code to fortran)? Well, first of all, you should have started with Fortran, instead of cowering out to it :-) But, on the other hand, if you can trim the code that's causing the trouble by perusing the -pg flag on compiles and (g)prof, I'm more than willing to look into the generated code to see how it can be improved. Disclaimer: Currently, I only know how to improve g77 generated code. -- Toon Moene (mailto:toon@moene.indiv.nluug.nl) Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Phone: +31 346 214290; Fax: +31 346 214286 g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam