From owner-freebsd-i386@FreeBSD.ORG Sat Nov 5 11:40:21 2005 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47C3416A41F for ; Sat, 5 Nov 2005 11:40:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA04143D46 for ; Sat, 5 Nov 2005 11:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA5BeK1G044619 for ; Sat, 5 Nov 2005 11:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA5BeKMC044618; Sat, 5 Nov 2005 11:40:20 GMT (envelope-from gnats) Date: Sat, 5 Nov 2005 11:40:20 GMT Message-Id: <200511051140.jA5BeKMC044618@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Petr Rehor Cc: Subject: Re: i386/74454: [bsd.cpu.mk] [patch] Adding VIA Eden family X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Petr Rehor List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2005 11:40:21 -0000 The following reply was made to PR i386/74454; it has been noted by GNATS. From: Petr Rehor To: bug-followup@FreeBSD.org Cc: Subject: Re: i386/74454: [bsd.cpu.mk] [patch] Adding VIA Eden family Date: Sat, 5 Nov 2005 12:30:22 +0100 Hi. There is a patch for CURRENT/RELENG_6/RELENG_6_0. P. Index: bsd.cpu.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/share/mk/bsd.cpu.mk,v retrieving revision 1.48 diff -u -r1.48 bsd.cpu.mk --- bsd.cpu.mk 24 May 2005 21:24:40 -0000 1.48 +++ bsd.cpu.mk 5 Nov 2005 11:27:47 -0000 @@ -50,6 +50,10 @@ CPUTYPE =3D athlon-mp . elif ${CPUTYPE} =3D=3D "k7" CPUTYPE =3D athlon +. elif ${CPUTYPE} =3D=3D "eden" +CPUTYPE =3D c3 +. elif ${CPUTYPE} =3D=3D "nehemiah" +CPUTYPE =3D c3-2 . endif . elif ${MACHINE_ARCH} =3D=3D "amd64" . if ${CPUTYPE} =3D=3D "prescott" @@ -68,7 +72,13 @@ # http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86-64-Options.html . if ${MACHINE_ARCH} =3D=3D "i386" -. if ${CPUTYPE} =3D=3D "crusoe" +. if ${CPUTYPE} =3D=3D "c3" +_CPUCFLAGS =3D -march=3D${CPUTYPE} +_ICC_CPUCFLAGS =3D -tpp5 -xM +. elif ${CPUTYPE} =3D=3D "c3-2" +_CPUCFLAGS =3D -march=3D${CPUTYPE} +_ICC_CPUCFLAGS =3D -tpp6 -xiMK +. elif ${CPUTYPE} =3D=3D "crusoe" _CPUCFLAGS =3D -march=3Di686 -falign-functions=3D0 -falign-jumps=3D0 -fali= gn-loops=3D0 . elif ${CPUTYPE} =3D=3D "k5" _CPUCFLAGS =3D -march=3Dpentium @@ -119,7 +129,11 @@ # presence of a CPU feature. . if ${MACHINE_ARCH} =3D=3D "i386" -. if ${CPUTYPE} =3D=3D "opteron" || ${CPUTYPE} =3D=3D "athlon64" +. if ${CPUTYPE} =3D=3D "c3" +MACHINE_CPU =3D c3 3dnow mmx i586 i486 i386 +. elif ${CPUTYPE} =3D=3D "c3-2" +MACHINE_CPU =3D c3-2 c3 sse i686 mmx i586 i486 i386 +. elif ${CPUTYPE} =3D=3D "opteron" || ${CPUTYPE} =3D=3D "athlon64" MACHINE_CPU =3D athlon-xp athlon k7 3dnow sse2 sse mmx k6 k5 i586 i486 i38= 6 . elif ${CPUTYPE} =3D=3D "athlon-mp" || ${CPUTYPE} =3D=3D "athlon-xp" || = \ ${CPUTYPE} =3D=3D "athlon-4"