From owner-freebsd-current Sat May 11 13:46:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-43.dsl.lsan03.pacbell.net [63.207.60.43]) by hub.freebsd.org (Postfix) with ESMTP id 1C27C37B404 for ; Sat, 11 May 2002 13:46:33 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id A933266DC8; Sat, 11 May 2002 13:46:32 -0700 (PDT) Date: Sat, 11 May 2002 13:46:32 -0700 From: Kris Kennaway To: current@freebsd.org Subject: Re: embellish of bsd.cpu.mk Message-ID: <20020511134632.C57286@xor.obsecurity.org> References: <20020511133309.A14228@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="OBd5C1Lgu00Gd/Tn" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020511133309.A14228@dragon.nuxi.com>; from dev-null@NUXI.com on Sat, May 11, 2002 at 01:33:09PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --OBd5C1Lgu00Gd/Tn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 11, 2002 at 01:33:09PM -0700, David O'Brien wrote: > @@ -87,17 +113,17 @@ > # presence of a CPU feature. > =20 > .if ${MACHINE_ARCH} =3D=3D "i386" > -. if ${CPUTYPE} =3D=3D "k7" > -MACHINE_CPU =3D k7 3dnow mmx k6 k5 i586 i486 i386 > +. if ${CPUTYPE} =3D=3D "athlon" > +MACHINE_CPU =3D athlon 3dnow mmx k6 k5 i586 i486 i386 This one should probably be left as k7; MACHINE_CPU is the variable that is supposed to be used by applications to selectively enable optimizations (so changing the name of the keyword from k7 to athlon would break selection). On the other hand, there probably aren't any applications which have athlon-specific optimizations yet. Kris --OBd5C1Lgu00Gd/Tn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE83YMnWry0BWjoQKURAoduAKCLMa7+J7Y9ZzhRrgtkOus0WeSKzgCgtISy DvR5TNVhUVptj1RDoxacwIA= =uKON -----END PGP SIGNATURE----- --OBd5C1Lgu00Gd/Tn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message