peter at wemm.org
Sat Nov 20 13:35:04 PST 2004
On Friday 19 November 2004 11:14 pm, Gert Cuykens wrote:
> Hi whats the cputype of a FX-53 please
You don't need to set CPUTYPE yet. If you really want to, you could use
any of "k8", "opteron" or "athlon64". The "k8" label is probably what
you should use, if you really want to set something since that is the
fundamental cpu core type that is shared across all the
athlon64/opteron family at this point in time. There will be a k9 and
k10 core at some point and it is probably safe to assume that they'll
be different enough in features or optimizer strategies to merit a new
gcc optimizer target.
For 64 bit intel cpus, you can use "nocona".
At some point, not setting CPUTYPE will target the lowest common
features of both cpus, eg: no SSE3, no 3dnow, etc. But for now, gcc
doesn't use sse3 or 3dnow with the default settings.
There is a small optimizer benefit to setting CPUTYPE="nocona" for intel
cpus though. It causes the gcc optimizer to use the pentium4
insanely-long-pipeline optimizer strategies instead of something
suitable for the AMD cpus. It also seems to cause gcc to make extra
effort to avoid partial register pipeline stalls.
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5
More information about the freebsd-amd64