optimising for athlon64
Adam Jackson
ajax at nwnk.net
Sun Mar 6 05:59:13 PST 2005
On Sunday 06 March 2005 07:50, Hamie wrote:
> Hi.
>
> I have a setup for xorg that I use on my laptop for passing optimisation
> flags to gcc for building an optimised version of xorg 6.8.2 for a
> pentium-m, but when I set the same flags in host.def to build for an
> athlon64, the parameters get ignored & the defaults are used...
>
> What should I set in host.def for an athlon64 build? The stuff I put
> into it for my laptop is
>
> #define DefaultGcc2i386Opt -O3 -march=pentium3 -msse2 -mmmx -msse
> -mfpmath=sse,387 -maccumulate-outgoing-args -mno-align-stringops
> -fomit-frame-pointer -ffast-math -funroll-all-loops -fsched-spec-load
> -fprefetch-loop-arrays -ftracer -fmove-all-movables --param
> max-gcse-passes=4
It's spelled "DefaultGcc2AMD64Opt" on amd64.
In general if your CFLAGS take more than one 80 column line to display, you're
asking for trouble.
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20050306/77742ac9/attachment.pgp>
More information about the xorg
mailing list