Adding k9 and k10 to bsd.cpu.mk
Kris Kennaway
kris at FreeBSD.org
Fri Aug 31 07:31:41 PDT 2007
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
More information about the freebsd-current
mailing list