Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2002 13:46:32 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        current@freebsd.org
Subject:   Re: embellish of bsd.cpu.mk
Message-ID:  <20020511134632.C57286@xor.obsecurity.org>
In-Reply-To: <20020511133309.A14228@dragon.nuxi.com>; from dev-null@NUXI.com on Sat, May 11, 2002 at 01:33:09PM -0700
References:  <20020511133309.A14228@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Sat, May 11, 2002 at 01:33:09PM -0700, David O'Brien wrote:

> @@ -87,17 +113,17 @@
>  # presence of a CPU feature.
>  
>  .if ${MACHINE_ARCH} == "i386"
> -. if ${CPUTYPE} == "k7"
> -MACHINE_CPU = k7 3dnow mmx k6 k5 i586 i486 i386
> +. if ${CPUTYPE} == "athlon"
> +MACHINE_CPU = 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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE83YMnWry0BWjoQKURAoduAKCLMa7+J7Y9ZzhRrgtkOus0WeSKzgCgtISy
DvR5TNVhUVptj1RDoxacwIA=
=uKON
-----END PGP SIGNATURE-----

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