Re: CPU typ in make.conf für core 2 quad

From: Bernd Walter <ticso(at)cicely12.cicely.de>
Date: Thu, 30 Aug 2007 15:30:47 +0200

On Thu, Aug 30, 2007 at 03:06:29PM +0200, Michael Gusek wrote:
> Bernd Walter wrote:
> >On Thu, Aug 30, 2007 at 01:03:59PM +0200, Nicola Tiling wrote:
> >
> >>Hat jmd ne Ahnung welcher CPU typ in die /etc/make.conf für den
> >>
> >> CPU: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (2394.01-MHz
> >> K8-class
> >>CPU)
> >>
> >>unter 6.2 / amd64 gehört?
> >>
> >>Ich dachte es wäre "nacona" - aber damit fällt das make ziemlich auf die
> >>Nase.
> >>
> >
> >"nocona", jedenfalls steht es so in /sur/share/mk/bsd.cpu.mk.
> >Aber ist eh nicht wichtig, so viel Unterscheidung macht der gcc noch
> >nicht und ansonsten gibt es nur noch SSE3 hinzu.
> >
> >
> Für current gibs ein eigenes (neues) Target für Core-CPU's. Ich betreibe

Macht aber keinen Unterschied:
. elif ${MACHINE_ARCH} == "amd64"
. if ${CPUTYPE} == "prescott" || ${CPUTYPE} == "core2"
CPUTYPE = nocona
. endif
. endif

> unter 6.2-STABLE / amd64 diese CPU
> CPU: Intel(R) Xeon(R) CPU 5140 @ 2.33GHz (2333.35-MHz
> K8-class CPU) mit 'opteron'.
> Ich glaub die CPU hat mit 'opteron' mehr gemeinsam als mit 'nocona'
> welches eher für die alten Xeon's mit P4-Kern geeignet ist.

operon aktiviert AMD spezifische Features:
. if ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "k8"
MACHINE_CPU = k8 3dnow
. elif ${CPUTYPE} == "nocona"
MACHINE_CPU = sse3
. endif

Entweder hat deine CPU diese auch, oder du hast nur ziemliches Glück,
dass die Befehle nicht benutzt wurden.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd(at)bwct.de           info(at)bwct.de            support(at)fizon.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 30 Aug 2007 - 15:32:14 CEST

search this site