Date: Sat, 20 Nov 2004 13:35:02 -0800 From: Peter Wemm <peter@wemm.org> To: freebsd-amd64@freebsd.org, Gert Cuykens <gert.cuykens@gmail.com> Subject: Re: cputype FX-53 Message-ID: <200411201335.02738.peter@wemm.org> In-Reply-To: <ef60af0904111923143b6e9355@mail.gmail.com> References: <ef60af0904111923143b6e9355@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411201335.02738.peter>