From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8577ac9e0188350c738be411a65985ba.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199701272035.MAA09326@speedy.speakeasy.org> Date: Mon, 27 Jan 1997 12:35:41 -0800 (PST) From: Brett McCormick Subject: Re: compiler efficency In-Reply-To: <199701272037.VAA20864@servix.us.es> Supposedly GCC has not yet been optimized for running on linux-alpha, and that may have a lot to do with your problem. When we had an alpha I noticed that compilation wasn't especially speedy.. On Mon, 27 January 1997, at 21:37:16, Claus Denk wrote: > Hi all, > > we just got a PC164 system and I did some benchmarks with our Fortran > programs over here. One of the test-programs is a simple loop > doing (output of f2c): > for (i = 2; i <= i__1; ++i) { > gam += 1. / (doublereal) i; > } > Now, the Fortran-program compiled with the Digital Unix (f77) compiler executes > TWICE as fast as the gcc executable (I found this factor also in other > programs). I have read that the gcc math libraries are not very fast, > but I do not understand why this simple loop is that slow with gcc. So my > questions: > 1) Any ideas why ? (This is Redhat 4.0). > 2) Will this problem be eventually resolved some day (in the nearer future)? > 3) Has anyone successfully installed Digital Unix f77 on a Linux system ? > 4) What would be the license $ for f77/DU if 3) works ? > > regards, Claus > > -- > 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 > -- 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