Hi, I accidently wrote that you should also use "-malign-double" as an optimization flag. However, from my experience, "-malign-double" can actually slow the encoding. So, you might want to test and see what effect it does for you.
Yosi >From: "Yosi" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: [MP3 ENCODER] Lame optimized for Athlon >Date: Sat, 24 Nov 2001 22:40:55 +0000 > >Hi Craig, > >These are the flags I use when compiling lame. I also use gcc3 which give a >signficant speed improvement over gcc-2.95. >Just do something like this: > >CFLAGS="-O6 -fomit-frame-pointer -mcpu=athlon -march=athlon > -malign-functions=4 -funroll-loops -fexpensive-optimizations > -malign-double -fschedule-insns2" CC=gcc3 ./configure > > >Hope this helps, >Yosi > > > >>From: craig duncan <[EMAIL PROTECTED]> >>Reply-To: [EMAIL PROTECTED] >>To: [EMAIL PROTECTED] >>Subject: [MP3 ENCODER] Lame optimized for Athlon >>Date: Sat, 24 Nov 2001 11:21:13 -0500 >>MIME-Version: 1.0 >>Received: from [131.245.7.145] by hotmail.com (3.2) with ESMTP id >>MHotMailBDC916E0001F4004374E83F507910B9A0; Sat, 24 Nov 2001 08:33:42 -0800 >>Received: from minnie.tuhs.org (localhost [127.0.0.1])by minnie.tuhs.org >>(8.11.3/8.11.3) with ESMTP id fAOGQOv79210;Sun, 25 Nov 2001 03:26:24 +1100 >>(EST)(envelope-from [EMAIL PROTECTED]) >>Received: from guardian-ext.bond.edu.au (guardian-int.bond.edu.au >>[131.244.2.1])by minnie.tuhs.org (8.11.3/8.11.3) with ESMTP id >>fAOGLUv79191for <[EMAIL PROTECTED]>; Sun, 25 Nov 2001 03:21:30 >>+1100 (EST)(envelope-from [EMAIL PROTECTED]) >>Received: (from smap@localhost)by guardian-ext.bond.edu.au (8.8.5/8.8.5) >>id >>CAA21498for <[EMAIL PROTECTED]>; Sun, 25 Nov 2001 02:21:29 +1000 >>Received: from mailout5-1.nyroc.rr.com(24.92.226.169) by >>guardian-ext.bond.edu.au via smap (V2.1/2.1+anti-relay+anti-spam)id >>xma021493; Sun, 25 Nov 01 02:21:09 +1000 >>Received: from nycap.rr.com (alb-66-24-177-215.nycap.rr.com >>[66.24.177.215])by mailout5.nyroc.rr.com (8.11.6/Road Runner 1.12) with >>ESMTP id fAOGLHj06280for <[EMAIL PROTECTED]>; Sat, 24 Nov 2001 >>11:21:17 -0500 (EST) >>From [EMAIL PROTECTED] Sat, 24 Nov 2001 08:35:24 -0800 >>Message-ID: <[EMAIL PROTECTED]> >>X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.18pre21 i686) >>X-Accept-Language: en >>Sender: [EMAIL PROTECTED] >>Errors-To: [EMAIL PROTECTED] >>X-BeenThere: [EMAIL PROTECTED] >>X-Mailman-Version: 2.0.6 >>Precedence: bulk >>List-Help: <mailto:[EMAIL PROTECTED]?subject=help> >>List-Post: <mailto:[EMAIL PROTECTED]> >>List-Subscribe: >><http://minnie.tuhs.org/mailman/listinfo/mp3encoder>,<mailto:[EMAIL PROTECTED]?subject=subscribe> >>List-Id: MP3 encoders development list <mp3encoder.minnie.tuhs.org> >>List-Unsubscribe: >><http://minnie.tuhs.org/mailman/listinfo/mp3encoder>,<mailto:[EMAIL PROTECTED]?subject=unsubscribe> >>List-Archive: <http://minnie.tuhs.org/pipermail/mp3encoder/> >> >>Saw the following on the debian-user list (i think). Anyway, i compiled >>lame 3.89 for my system (very straightforward. . . just ./configure and >>make). I recently bought a 1 Ghz Duron system, though, which, i think, >>might be suitable for running what you've optimized for your Athlon >>650. If so, i'd love to get/make an optimized version for myself, as i >>do a lot of encoding. What could you provide me and how? Thanks in >>advance for whatever it might be, >> >>craig >> >> >> >I'm compiling bleeding edge CVS snapshots with *a lot* of >> >optimizations and lame runs beautifully on my machine (RedHat 7.2, >> >Athlon 650MHz). >> > >> >If you want a binary lame optimized for Athlon just let me know. >> > >> >As for gcc-3.0.x, I'm using it to compile the CVS snapshots of lame, >> >and it produces an excellent working version of lame. BTW, compiling >> >lame with gcc3 (or gcc-2.96 for that matter) yields a much faster >> >encoder than a version that will be compiled with gcc-2.95 (or kgcc). >>_______________________________________________ >>mp3encoder mailing list >>[EMAIL PROTECTED] >>http://minnie.tuhs.org/mailman/listinfo/mp3encoder > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > >_______________________________________________ >mp3encoder mailing list >[EMAIL PROTECTED] >http://minnie.tuhs.org/mailman/listinfo/mp3encoder _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ mp3encoder mailing list [EMAIL PROTECTED] http://minnie.tuhs.org/mailman/listinfo/mp3encoder