[arch-dev-public] x86_64: improving default CFLAGS

Aaron Griffin aaronmgriffin at gmail.com
Tue Apr 3 17:40:20 EDT 2007


On 4/3/07, Andreas Radke <a.radke at arcor.de> wrote:
> Am Sat, 31 Mar 2007 12:31:20 +0200
> schrieb Andreas Radke <a.radke at arcor.de>:
>
> > http://bbs.archlinux.org/viewtopic.php?id=27139
> >
> > after some discussions in this thread we want to change our default
> > compiler flags. we want to make use of the SSE3 extensions most x86_64
> > cpus have.
> >
> > to not break backward compatibility for those few early cpus that lack
> > SSE3 extensions we want to do it with -mtune. this is how we want to
> > set it for the future:
> >
> > CFLAGS="-march=x86-64 -mtune=nocona -O2 -pipe"
> > CXXFLAGS="-march=x86-64 -mtune=nocona -O2 -pipe"
> >
> > some testing is still required. i would like to put a modified version
> > of pacman to testing right after it has moved to current. when
> > everything is ok we would ask the pacman devs to change it to the
> > default makepkg.conf.
> >
> > please discuss.
> >
> > Andy
> >
> > (for i686 are also some speedups possible but that's not my task)
> >
> > _______________________________________________
> > arch-dev-public mailing list
> > arch-dev-public at archlinux.org
> > http://archlinux.org/mailman/listinfo/arch-dev-public
>
>
> no opinions? fine to everybody?

I don't know the details, so I assumed you looked into it all.  Just
in case: what 64bit processors does this "leave in the dust".

Dropping support for some processors is not a huge problem (the age
old Via C3 + Arch problem), but i think it might be important to put a
blurb somewhere saying "If you have an XYZ processor, you need to use
the arch i686".




More information about the arch-dev-public mailing list