From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199712141235.OAA08850@blinky.bfr.co.il> Date: Sun, 14 Dec 1997 14:35:43 +0200 From: Harvey J. Stein Subject: Optimal options for egcs optimization? 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