optimising for athlon64

Jakub Piotr Cłapa loc at toya.net.pl
Sun Mar 6 06:17:11 PST 2005


Adam Jackson wrote:
> 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.

In Gentoo - bigger == better. ;]

-- 
Regards,
Jakub Piotr Cłapa



More information about the xorg mailing list