[opensource-dev] (CTS-315) march choice for 64bit builds

Altair Sythos Memo sythos at gmail.com
Sat Oct 23 03:44:17 PDT 2010


On Sat, 23 Oct 2010 03:19:24 -0700
leliel <leliel.mirihi at gmail.com> wrote:


> 
> > the other (imho better) way to select right march/mtune is use
> > "generic" and declare *all* parameters, sort of:
> 
> This is the proper fix imho.
> 
> > for 32bit:
> > gcc -march=generic -mtune=generic -m32 -mmmx -msse -msse2
> > -mfpmath=both <etc.etc.>
> >
> > for 64bit:
> > gcc -march=generic -mtune=generic -m64 -mmmx -msse -msse2
> > -mfpmath=both <etc.etc.>
> 
> Should use -mfpmath=sse, gcc isn't very good at doing both x87 and sse
> fp math at the same time.

let GCC to choose the faster way to assembly machine code... (done
under GCC4.5 a lot of test in KV enviroment, but on intel up)

is time for a libs update too, especially on multimedia (opeonal,
pulse, SSL0.9.7 is buged, etc.etc.), as change compilefarm upgrading
GCC (mainly now, mesh need high performance compilated code)


More information about the opensource-dev mailing list