From owner-freebsd-current Sat Oct 27 21:38:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp4.port.ru (mx4.port.ru [194.67.57.14]) by hub.freebsd.org (Postfix) with ESMTP id 5510537B401; Sat, 27 Oct 2001 21:38:10 -0700 (PDT) Received: from [193.108.237.232] (helo=notebook.vega.com) by smtp4.port.ru with esmtp (Exim 3.14 #1) id 15xhi2-0002de-00; Sun, 28 Oct 2001 07:38:07 +0300 To: clefevre@citeweb.net, peter@wemm.org Cc: jerry@thehutt.org, freebsd-stable@FreeBSD.ORG, freebsd-current@FreeBSD.ORG From: Maxim Sobolev Reply-To: sobomax@FreeBSD.org Subject: Re: adding athlon xp to bsd.cpu.mk X-Mailer: Pygmy (v0.5.13) Date: Sun, 28 Oct 2001 06:37:45 EET In-Reply-To: <200110280030.f9S0UfW82593@gits.dyndns.org> Content-type: text/plain Content-Transfer-Encoding: quoted-printable Message-Id: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 28 Oct 2001 02:30:40 +0200 (CEST), Cyrille Lefevre wrote: > Peter Wemm wrote: > > Jerry A! wrote: > > > On Sat, Oct 27, 2001 at 10:00:44PM +0200, Cyrille Lefevre wrote: > > > : Hi, > > > : > > > : how about the following patch (untested) regarding the newer athlon= xp > > > : processor type ? if needed, I could submit a PR. > > > = > > > Shouldn't Athlons and AthlonXPs be able to use i686 (pentiumpro) > > > instruction set optimizations? > > = > > No. They are different cpu cores that have different optimization > > strategies. > > = > > The patch doesn't include the AthlonMP which has the same core with > > both SSE and MMX. > = > Athlon XP (commercial name) =3D=3D Athlon MP (core name) AFAIK, not quite. The core name is Palomino and there are three processors based on it: Athlon XP, Athlon MP and Duron. > Athlon (alias k7) already has MMX. the objective of this patch > was to add SSE to the set of XP (alias MP) processors. What about new Durons based on the Palomino core? The problem is that as far as I know they have nothing in their name (like XP in Athlon's case) that distinguishes them from older Durons based on the Thunderbird core, while they do support SSE in addition to 3DNow and MMX. Perhaps it would be better to introduce new variable CPUCORE, so the user could use something like the following: CPUTYPE=3Dathlon CPUCORE=3Dthunderbird or CPUTYPE=3Dduron CPUCORE=3Dpalomino and so on. This looks quite ugly, but I do not have any better ideas. = -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message