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

next in thread | previous in thread | raw e-mail | index | archive | help
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@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070831194338.GB4565>