From owner-freebsd-stable Sun Oct 28 0:52:34 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ns.kobe1995.net (211.12.126.15.user.dt.il24.net [211.12.126.15]) by hub.freebsd.org (Postfix) with ESMTP id 3BAD137B401; Sun, 28 Oct 2001 00:52:28 -0700 (PDT) Received: (from kaz@localhost) by ns.kobe1995.net (8.8.8/3.7W-primary) id QAA26253; Sun, 28 Oct 2001 16:52:18 +0900 (JST) Date: Sun, 28 Oct 2001 16:52:18 +0900 (JST) Message-Id: <200110280752.QAA26253@ns.kobe1995.net> To: clefevre@citeweb.net Cc: freebsd-stable@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: adding athlon xp to bsd.cpu.mk In-Reply-To: Your message of "Sat, 27 Oct 2001 22:00:44 +0200 (CEST)". <200110272000.f9RK0jn71364@gits.dyndns.org> From: kaz@kobe1995.net (NAKAMURA Kazushi) X-Mailer: mnews [version 1.20] 1996-12/08(Sun) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <200110272000.f9RK0jn71364@gits.dyndns.org> clefevre@citeweb.net writes: >how about the following patch (untested) regarding the newer athlon xp >processor type ? if needed, I could submit a PR. AthlonXP is same as AthlonMP. It's better of the name "palomino", isn't it? (But "morgan" Duron will have same feature such as SSE.) What is the best name of the AMD's CPU core that can use SSE? >Index: bsd.cpu.mk >=================================================================== >RCS file: /home/ncvs/src/share/mk/bsd.cpu.mk,v >retrieving revision 1.2.2.4 >diff -u -r1.2.2.4 bsd.cpu.mk >@@ -28,8 +30,10 @@ > > .if !defined(NO_CPU_CFLAGS) || !defined(NO_CPU_COPTFLAGS) > . if ${MACHINE_ARCH} == "i386" >-. if ${CPUTYPE} == "k7" >+. if ${CPUTYPE} == "xp" > _CPUCFLAGS = -march=k6 # gcc doesn't support athlon yet, but it will >+. elif ${CPUTYPE} == "k7" >+_CPUCFLAGS = -march=k6 # gcc doesn't support athlon yet, but it will > . elif ${CPUTYPE} == "k6-2" > _CPUCFLAGS = -march=k6 > . elif ${CPUTYPE} == "k6" My dual AthlonXP is offen better performance at "-mcpu=i686" than "-mk6". (gcc 2.95.3) My dual AthlonXP's WWW page(in Japanese,sorry): http://kobe1995.net/~kaz/FreeBSD/AthlonDual.html Thank you & sorry for my poor English. -- NAKAMURA Kazushi@KOBE - Break the hate chain. No more kill! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message