Adding k9 and k10 to bsd.cpu.mk

Kris Kennaway kris at FreeBSD.org
Fri Aug 31 13:22:02 PDT 2007


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


More information about the freebsd-current mailing list