From owner-freebsd-current@FreeBSD.ORG Fri Aug 31 19:44:01 2007 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7836A16A420; Fri, 31 Aug 2007 19:44:01 +0000 (UTC) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id 4CCA613C4CA; Fri, 31 Aug 2007 19:44:01 +0000 (UTC) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.1/8.14.1) with ESMTP id l7VJhdMv004827; Fri, 31 Aug 2007 12:43:39 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.1/8.14.1/Submit) id l7VJhdHj004826; Fri, 31 Aug 2007 12:43:39 -0700 (PDT) (envelope-from obrien) Date: Fri, 31 Aug 2007 12:43:39 -0700 From: "David O'Brien" To: Kris Kennaway Message-ID: <20070831194338.GB4565@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, Kris Kennaway , Stefan Lambrev , Roman Divacky , pluknet , freebsd-current@freebsd.org, Bj?rn K?nig References: <-3502020561049594852@unknownmsgid> <20070829191310.GA50909@freebsd.org> <46D66F83.2050208@moneybookers.com> <20070831142458.GE79097@dragon.NUXI.org> <46D82649.20804@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46D82649.20804@FreeBSD.org> X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.11 Cc: freebsd-current@FreeBSD.org, Roman Divacky , pluknet , Bj?rn K?nig , Stefan Lambrev Subject: Re: Adding k9 and k10 to bsd.cpu.mk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2007 19:44:01 -0000 On Fri, Aug 31, 2007 at 04:31:37PM +0200, Kris Kennaway wrote: > David O'Brien wrote: > >On Thu, Aug 30, 2007 at 10:19:31AM +0300, Stefan Lambrev wrote: > >>k8-sse3, opteron-sse3, athlon64-sse3 > > > >Yeah, I guess I should add those... though bsd.cpu.mk was architected > >with some amount of guessing of what might in the future be useful. > > > >Is there anything in /usr/src or /usr/ports that actually does anything > >with the information? > > > > . elif ${CPUTYPE} == "prescott" > > MACHINE_CPU = sse3 sse2 sse i686 mmx i586 i486 i386 > > > > . elif ${CPUTYPE} == "nocona" > > MACHINE_CPU = sse3 > > > >for instance. > > MACHINE_CPU is supposed to be a complete list of relevant CPU features Yes I know. :-) > that ports can use to enable e.g. SSE2 asm optimizations if the CPUTYPE > supports it. A number of them exist that do this. I don't supose you know a few of them off the top of your head. -- -- David (obrien@FreeBSD.org) Q: Because it reverses the logical flow of conversation. A: Why is top-posting (putting a reply at the top of the message) frowned upon? Let's not play "Jeopardy-style quoting"