Mail Archives: djgpp/2000/07/06/03:04:59
just an idea, how about -O6 ?
"S. T. L." wrote:
>
> Hi. I've been trying to squeeze more optimized code out of DJGPP by playing
> with various switches. (I don't know C yet, but I hope to learn it soon!) I'm
> compiling BladeEnc, an MP3 encoder, and want to see how fast I can get it.
> (No, I don't use it to transfer music over the Internet.) By turning on
> various switches, I've found that the commandline
> GCC -s -O2 -march=i686 -fomit-frame-pointer -ffast-math -funroll-loops
> -funroll-all-loops -malign-double -fstrict-aliasing -o BLADE.EXE *.c
> seems to produce the fastest code. (I'm doing this on a Pentium III system.)
> Am I missing any blindingly obvious switches I should be trying? I've tried
> several other switches, but they all have no effect or detrimental effects.
> I'm looking for speed, not for size.
>
> (BladeEnc's homepage is at bladeenc.mp3.no and is under the LGPL.)
>
> Thanks for your time!
>
> -*---*-------
> S.T.L. My Quotes Page * http://quote.cjb.net * leads to my NEW site.
> Pages up: 419 Quotes, 52 reviews of 169 science books, and a review of
> the Foundation series. Newest Page: S.T.L.'s Files for Download!
--
Robin Hugh Johnson
"Robbat2"
QTOD: "I used to be an idealist, but I got mugged by reality."
E-Mail : robbat2 AT orbis-terrarum DOT net
ICQ# : 30269588 or 41961639
Home Page : http://www.orbis-terrarum.net
Time Zone : Pacific Daylight (GMT - 8)
- Raw text -