Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2001 16:52:18 +0900 (JST)
From:      kaz@kobe1995.net (NAKAMURA Kazushi)
To:        clefevre@citeweb.net
Cc:        freebsd-stable@FreeBSD.org, freebsd-current@FreeBSD.org
Subject:   Re: adding athlon xp to bsd.cpu.mk
Message-ID:  <200110280752.QAA26253@ns.kobe1995.net>
In-Reply-To: Your message of "Sat, 27 Oct 2001 22:00:44 %2B0200 (CEST)". <200110272000.f9RK0jn71364@gits.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
-- 
<mailto:kaz@kobe1995.net>	NAKAMURA Kazushi@KOBE
<http://kobe1995.net/~kaz/index-e.html>;
- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110280752.QAA26253>