Date: Fri, 18 Aug 2006 11:47:37 -0700 From: "Nikolas Britton" <nikolas.britton@gmail.com> To: "Sean M." <sigma_zk@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: GCC - Optimal Optimization Message-ID: <ef10de9a0608181147p5636f774gacfc9bc03d6e41d@mail.gmail.com> In-Reply-To: <20060818161057.60674.qmail@web52309.mail.yahoo.com> References: <20060818161057.60674.qmail@web52309.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/18/06, Sean M. <sigma_zk@yahoo.com> wrote: > With GCC 3.4.4, what are the best CFLAGS to use for an AMD Duron ~1000 > MHz? By "best" I mean creating the fastest programs that exploit fully > all of the architecture's features, without creating a "noticible" > increase in size. To date I've been using > CFLAGS="-O3 -march=athlon-xp -mfp-math=sse -funroll-loops -pipe > -ffast-math" > > Here: http://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options IIRC the Duron should be set to athlon or athlon-tbird. The athlon-4, athlon-xp, athlon-mp knobs should only be used on Athlons with a Palomino core or better, your Duron is to slow to be based off Palomino. Also -mfp-math=sse does nothing for you because your chip doesn't have full SSE support. If you want to increase performance buy a new parts, $200 bucks will get you a new Athlon64 AM2 CPU, AM2 socket motherboard, and 512MB of DDR2-800 ram. Or you could go with new old stock: AMD Sempron 64 2800+ Socket 754: $54 BIOSTAR TForce6100 Socket 754: $66 CORSAIR ValueSelect 256MB DDR400: $28 Total: $148 -- BSD Podcasts @: http://bsdtalk.blogspot.com/ http://freebsdforall.blogspot.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef10de9a0608181147p5636f774gacfc9bc03d6e41d>