Date: Thu, 14 Feb 2002 01:20:27 +0200 (IST) From: Roman Shterenzon <roman@xpert.com> To: freebsd-stable@freebsd.org Cc: roman@xpert.com Subject: src/share/mk/bsd.cpu.mk Message-ID: <20020214011555.F33346-200000@alchemy.oven.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hello,
The attached patch makes sense for me, as Athlon iz 686 type CPU.
Also, my Athlon has sse, is it true about all the Athlons?
Comments?
--Roman Shterenzon
[-- Attachment #2 --]
--- bsd.cpu.mk.orig Fri Feb 8 14:34:50 2002
+++ bsd.cpu.mk Thu Feb 14 01:19:04 2002
@@ -29,7 +29,7 @@
.if !defined(NO_CPU_CFLAGS) || !defined(NO_CPU_COPTFLAGS)
. if ${MACHINE_ARCH} == "i386"
. if ${CPUTYPE} == "k7"
-_CPUCFLAGS = -march=k6 # gcc doesn't support athlon yet, but it will
+_CPUCFLAGS = -march=pentiumpro # gcc doesn't support athlon yet, but it will
. elif ${CPUTYPE} == "k6-2"
_CPUCFLAGS = -march=k6
. elif ${CPUTYPE} == "k6"
@@ -80,7 +80,7 @@
.if ${MACHINE_ARCH} == "i386"
. if ${CPUTYPE} == "k7"
-MACHINE_CPU = k7 3dnow mmx k6 k5 i586 i486 i386
+MACHINE_CPU = k7 3dnow sse mmx i686 k6 k5 i586 i486 i386
. elif ${CPUTYPE} == "k6-2"
MACHINE_CPU = 3dnow mmx k6 k5 i586 i486 i386
. elif ${CPUTYPE} == "k6"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020214011555.F33346-200000>
