GCC - Optimal Optimization

2006-08-18 Thread Sean M.
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

Re: GCC - Optimal Optimization

2006-08-18 Thread Dan Nelson
In the last episode (Aug 18), Sean M. said: 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

Re: GCC - Optimal Optimization

2006-08-18 Thread Kris Kennaway
On Fri, Aug 18, 2006 at 09:10:57AM -0700, Sean M. 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

Re: GCC - Optimal Optimization

2006-08-18 Thread Oliver Fromme
Sean M. [EMAIL PROTECTED] 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

Re: GCC - Optimal Optimization

2006-08-18 Thread Nikolas Britton
On 8/18/06, Sean M. [EMAIL PROTECTED] 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

Re: GCC - Optimal Optimization

2006-08-18 Thread Sean M.
--- Oliver Fromme [EMAIL PROTECTED] wrote: The default is -O2 -fno-strict-aliasing -pipe. info gcc --index optimize options says the default is '-O0'. You said you don't want an increase in size. But that's exactly what -O3 (via inlining) and -funroll-loops do. If you want not to increase

Re: GCC - Optimal Optimization

2006-08-18 Thread Nikolas Britton
On 8/18/06, Sean M. [EMAIL PROTECTED] wrote: --- Oliver Fromme [EMAIL PROTECTED] wrote: The default is -O2 -fno-strict-aliasing -pipe. info gcc --index optimize options says the default is '-O0'. That's true for stock GCC but FreeBSD (6.x) CFLAGS, COPTFLAGS, and CXXFLAGS defaults to -O2