Re: [gentoo-user] AthlonXP flags

2005-06-14 Thread Bruno Lustosa
On 6/14/05, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> wrote: > I think it is better to set sse on a USE flag so if a program is made > to use them (i.e. X.org), it can, but it doesn't affect the other > packages that weren't made with them in mind. And, directly from the X.org ebui

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
That option (-mfpmath=sse,387) was deemed unstable on the gcc page that Bruno posted on this thread. Quoting: "Use this option with care, as it is still experimental, because the GCC register allocator does not model separate functional units well resulting in instable performance. " I think it is

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Colin
Mark Shields wrote: Oh, Raphael, concerning what you said: "By the way, look for something about using sse instruction for math. It speeds things up a bit.". I think you're speaking of "-mfpmath=sse". You might want to specify -mfpmath=sse,387 instead. SSE is capable of faster, more precis

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Mark Shields
I believe the way mtune and march is like this: Think of mtune as 'optional' tuning and march as 'required' tuning, meaning: compile for athlon-xp with the mtune option, it will run better on an athlon xp but will also run in i386 (just slower), whereas march will compile for athlon-xp and will on

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
Thanks ;) 2005/6/13, Mark Shields <[EMAIL PROTECTED]>: > Oh, Raphael, concerning what you said: "By the way, look for something > about using sse > instruction for math. It speeds things up a bit.". I think you're > speaking of "-mfpmath=sse". > > On 6/13/05, Mark Shields <[EMAIL PROTECTED]> wro

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Volker Armin Hemmann
On Monday 13 June 2005 21:53, Allan Spagnol Comar wrote: > I was looking over the internet for some CFLAGS for athlon XP and I > didn't found any. Does someone knows what are the best C and CXXFLASG > for athlon XP ? march=athlon-xp -mmmx -msse -O2 -fomit-frame-pointer -pipe why mmx and sse? bec

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Mark Shields
Oh, Raphael, concerning what you said: "By the way, look for something about using sse instruction for math. It speeds things up a bit.". I think you're speaking of "-mfpmath=sse". On 6/13/05, Mark Shields <[EMAIL PROTECTED]> wrote: > Yes, as long as it's the Socket A version. Not sure about the

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Mark Shields
Yes, as long as it's the Socket A version. Not sure about the socket 754 version, which may (or may not) use amd64. On 6/13/05, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> wrote: > By the way, Sempron accepts athlon-xp, right? > > 2005/6/13, Bruno Lustosa <[EMAIL PROTECTED]>: > > O

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
By the way, Sempron accepts athlon-xp, right? 2005/6/13, Bruno Lustosa <[EMAIL PROTECTED]>: > On 6/13/05, Colin <[EMAIL PROTECTED]> wrote: > > You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use > > -march=athlon-xp. If your processor supports MMX, 3DNow!, SSE or > > SSE2, add thos

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
You're welcome. By the way, look for something about using sse instruction for math. It speeds things up a bit. And put mmx and sse in you USE variable 2005/6/13, Allan Spagnol Comar <[EMAIL PROTECTED]>: > thak you all > > On 6/13/05, Raphael Melo de Oliveira Bastos Sales > <[EMAIL PROTECTED]> wr

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Bruno Lustosa
On 6/13/05, Colin <[EMAIL PROTECTED]> wrote: > You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use > -march=athlon-xp. If your processor supports MMX, 3DNow!, SSE or > SSE2, add those flags in as well. Fine, but no need to add mmx, 3dnow!, sse or sse2, as these are implied by -marc

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Allan Spagnol Comar
thak you all On 6/13/05, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> wrote: > I know the safe ones: > > -march=athlon-xp -O3 -fomit-frame-pointer -pipe > > You can use -02 if you don't want to take much time in compiling and > in some cases the binary is actually faster than -O3 (I

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
I know the safe ones: -march=athlon-xp -O3 -fomit-frame-pointer -pipe You can use -02 if you don't want to take much time in compiling and in some cases the binary is actually faster than -O3 (I heard this from others, I'm testing it now). Also -pipe is only supposed to make compile time faster,

Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Colin
On 6/13/05, Allan Spagnol Comar <[EMAIL PROTECTED]> wrote: > I was looking over the internet for some CFLAGS for athlon XP and I > didn't found any. Does someone knows what are the best C and CXXFLASG > for athlon XP ? You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use -march=athlo

[gentoo-user] AthlonXP flags

2005-06-13 Thread Allan Spagnol Comar
I was looking over the internet for some CFLAGS for athlon XP and I didn't found any. Does someone knows what are the best C and CXXFLASG for athlon XP ? -- gentoo-user@gentoo.org mailing list