From: Fabio Perroni <fabio.p@oasi.it>
Subject: Re: Optimal options for egcs optimization?
Date: Mon, 15 Dec 1997 01:03:46 +0100 [thread overview]
Message-ID: <86ca792b97720ca8b48e4a351b44e138.axp-list@archive.invalid> (raw)
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 |
<fabio.p@oasi.it> |
---------------
--
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
next reply other threads:[~1997-12-15 0:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-15 0:03 Fabio Perroni [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-12-15 10:52 Optimal options for egcs optimization? Harvey J. Stein
1997-12-14 12:35 Harvey J. Stein
1997-12-15 1:45 ` Richard Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox