From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <103a0d001f79f6d9fdd48c8518536c5b.axp-list@archive.invalid> X-Archive-Original-Message-ID: Date: Fri, 13 Jun 1997 15:21:47 +0200 (MET DST) From: Ken Haste Andersen Subject: Compiler speed for floating point applications. Hi all, I have a 500 MHz PC164. I run floating point intensive calculations compiled with g77 (-ffast-math -funroll-loops -fno-f2c -O3). These run approx 2 times the speed of a 180 MHz Ppro, which is a bit slower that what is to be expected. 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.? Ken ----------------------------------------------------------------------- Ken Haste Andersen, stud. PhD. at: CATS: Niels Bohr Instituttet ISVA: DTU Blegdamsvej 17 Bygning 115 DK-2100 OE DK-2800 Lyngby Tlf.: +45 3532 5430 Tlf.: +45 4525 1420 Fax: +45 3532 5425 Fax: +45 4593 2860 E-mail: kenand@nbi.dk http://www.nbi.dk/~kenand ------------------------------------------------------------------------ -- 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