From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199706131535.JAA05645@ellpspace.math.ualberta.ca> Date: Fri, 13 Jun 1997 09:35:54 -0600 (MDT) From: Michal Jaegermann Subject: Re: Compiler speed for floating point applications. In-Reply-To: > > Therefore I tried to compile the programs under > Digital Unix, using their f77 compiler (-O4 -arch ev5), and transfering > the code to my Linux station. Surprise! - a factor of two in speed > increase! > > Is g77 (and then gcc) really that bad for floating point apps.? No, not really, but your libraries may be and/or your program is written in a way which is good enogh for DU compiler f77 optimizations but g77 is not smart enough. Performance gains from what you did vary very widely from a program to program. It is hard to be specific, but before jumping to any conclusions check an article by David Mosberger-Tang http://www.linuxexpo.org/1997/after/papers/davidm/paper-html/ on the topic. It is an eye-opener. :-) There is no doubt that f77 from Digital, and its libraries, are today better than g77. This gap is not likely to diminish until interested parties sit down and start writing a code. I am pretty sure that various library routines used in Fortran programs need work. All this "free software" is a cooperative effort and is is hard to expect that "they" will do everything. Michal -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com