Re: Adding k9 and k10 to bsd.cpu.mk

From: Kris Kennaway <kris_at_FreeBSD.org>
Date: Fri, 31 Aug 2007 16:31:37 +0200
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
Received on Fri Aug 31 2007 - 12:31:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC