From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <86ca792b97720ca8b48e4a351b44e138.axp-list@archive.invalid> X-Archive-Original-Message-ID: Date: Mon, 15 Dec 1997 01:03:46 +0100 From: Fabio Perroni Subject: Re: Optimal options for egcs optimization? Harvey J. Stein wrote: > Does anyone know what the best optimization flags to use with egcs > would be? > > I've tried: > > -O9 > -O9 -funroll-loops -finline-functions -ffast-math -fomit-frame-pointer -mcpu=21164a -static > -O9 -funroll-all-loops -finline-functions -ffast-math -fomit-frame-pointer -mcpu=21164 -static -fexpensive-optimiztions -fschedule-insns -fschedule-insns2 -frerun-cse-after-loop > -O9 -funroll-all-loops -finline-functions -ffast-math -fomit-frame-pointer -mcpu=21164 -static -fexpensive-optimizations -fschedule-insns -fschedule-insns2 -frerun-cse-after-loop > -O3 -ffast-math -fomit-frame-pointer -mcpu=21164 -static -fexpensive-optimizations -funroll-loops > > I assumed -O9 was the same as -O3, but then switched back to -O3 just > in case this isn't true. And, btw, I found all of the above to be > slower than gcc 2.7.2.1 with -O2. The first was close enough that the > difference could be considered noise, but the others were > significantly slower (except for the last which I haven't finished > testing yet.) > > Also, the -mcpu=21164a failed in compilation with lots of complaints > about the $at register being used in a noat environment again. > > Thanks, > > -- > Harvey J. Stein > Berger Financial Research > hjstein@bfr.co.il > > -- > 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 Same results .... even on my PPro-200 (RH4.2) I found that gcc-2.7.2.2 is 15% faster then egcs-1.0. --------------- Fabio Perroni | | --------------- -- 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