Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Harvey J. Stein <hjstein@bfr.co.il>
Subject: Optimal options for egcs optimization?
Date: Sun, 14 Dec 1997 14:35:43 +0200	[thread overview]
Message-ID: <199712141235.OAA08850@blinky.bfr.co.il> (raw)

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

             reply	other threads:[~1997-12-14 12:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-14 12:35 Harvey J. Stein [this message]
1997-12-15  1:45 ` Optimal options for egcs optimization? Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1997-12-15  0:03 Fabio Perroni
1997-12-15 10:52 Harvey J. Stein
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