i386/74454: [bsd.cpu.mk] [patch] Adding VIA Eden family

Petr Rehor prehor at gmail.com
Sat Nov 5 03:40:21 PST 2005


The following reply was made to PR i386/74454; it has been noted by GNATS.

From: Petr Rehor <prehor at gmail.com>
To: bug-followup at 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"


More information about the freebsd-i386 mailing list