Adding k9 and k10 to bsd.cpu.mk

David O'Brien obrien at FreeBSD.org
Fri Aug 31 12:44:01 PDT 2007


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 at 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"


More information about the freebsd-current mailing list