Message-ID: <396429E9.4EF4C930@home.com> From: Robin Johnson Organization: Orbit Computers X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en,af,es MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Voodoo optimization? References: <20000706015618 DOT 01353 DOT 00001528 AT ng-bj1 DOT aol DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 33 Date: Thu, 06 Jul 2000 06:41:16 GMT NNTP-Posting-Host: 24.113.36.103 X-Complaints-To: abuse AT home DOT net X-Trace: news1.rdc1.bc.home.com 962865676 24.113.36.103 (Wed, 05 Jul 2000 23:41:16 PDT) NNTP-Posting-Date: Wed, 05 Jul 2000 23:41:16 PDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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)