From owner-freebsd-current@FreeBSD.ORG Fri Aug 31 20:22:02 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 7CDEE16A419; Fri, 31 Aug 2007 20:22:02 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx1.freebsd.org (Postfix) with ESMTP id 9023213C458; Fri, 31 Aug 2007 20:22:00 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <46D87866.4010109@FreeBSD.org> Date: Fri, 31 Aug 2007 22:21:58 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 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> <20070831194338.GB4565@dragon.NUXI.org> In-Reply-To: <20070831194338.GB4565@dragon.NUXI.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Adding k9 and k10 to bsd.cpu.mk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 20:22:02 -0000 David O'Brien wrote: > 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. > Sorry, no. grep for it in ports. Kris