Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2007 16:31:37 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        obrien@freebsd.org, Stefan Lambrev <stefan.lambrev@moneybookers.com>,  Roman Divacky <rdivacky@freebsd.org>, pluknet <pluknet@gmail.com>,  freebsd-current@freebsd.org,  Bj?rn K?nig <bkoenig@cs.tu-berlin.de>
Subject:   Re: Adding k9 and k10 to bsd.cpu.mk
Message-ID:  <46D82649.20804@FreeBSD.org>
In-Reply-To: <20070831142458.GE79097@dragon.NUXI.org>
References:  <-3502020561049594852@unknownmsgid>	<a31046fc0708291203s3e71d603ka7b34cc320a8166a@mail.gmail.com>	<20070829191310.GA50909@freebsd.org>	<46D66F83.2050208@moneybookers.com> <20070831142458.GE79097@dragon.NUXI.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 
that ports can use to enable e.g. SSE2 asm optimizations if the CPUTYPE 
supports it.  A number of them exist that do this.

Kris



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?46D82649.20804>