From owner-freebsd-current Sat May 11 13:52:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id 5D3F137B401 for ; Sat, 11 May 2002 13:52:37 -0700 (PDT) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.3/8.12.3) with ESMTP id g4BKqa9Q073567; Sat, 11 May 2002 13:52:36 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.3/8.12.3/Submit) id g4BKqa9n073566; Sat, 11 May 2002 13:52:36 -0700 (PDT) Date: Sat, 11 May 2002 13:52:36 -0700 From: Steve Kargl To: Kris Kennaway Cc: current@FreeBSD.ORG Subject: Re: embellish of bsd.cpu.mk Message-ID: <20020511135236.F73047@troutmask.apl.washington.edu> References: <20020511133309.A14228@dragon.nuxi.com> <20020511134632.C57286@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020511134632.C57286@xor.obsecurity.org>; from kris@obsecurity.org on Sat, May 11, 2002 at 01:46:32PM -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 On Sat, May 11, 2002 at 01:46:32PM -0700, Kris Kennaway wrote: > 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. > GMP and ATLAS have athlon specific optimizations. These are the reason I tried to add athlon. Sorry about botching the k7 change. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message