CPUTYPE
Roland Smith
rsmith at xs4all.nl
Wed May 23 21:35:12 UTC 2007
On Wed, May 23, 2007 at 05:50:55PM +0300, Stefan Lambrev wrote:
> Hi list,
>
> From what I read the right CPUTYPE for freebsd/amd64 and
>
> CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.02-MHz K8-class
> CPU)
> Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6
>
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,
> TM,PBE>
> Features2=0xe3bd<SSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,<b9>,CX16,XTPR,<b15>>
> AMD Features=0x20100800<SYSCALL,NX,LM>
> AMD Features2=0x1<LAHF>
>
> I should use CPUTYPE?=nocona , right?
> I just want to be sure :)
Have a look at /usr/src/share/mk/bsd.cpu.mk, especially the bit that
says "Set up the list of CPU features based on the CPU type":
. elif ${MACHINE_ARCH} == "amd64"
. if ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || ${CPUTYPE} == "k8"
MACHINE_CPU = k8 3dnow
. elif ${CPUTYPE} == "nocona"
MACHINE_CPU = sse3
. endif
MACHINE_CPU += amd64 sse2 sse mmx
The only extra featuree for "nocona" seems to be the SSE3
instructions. Since your 'Features2' lists SSE3, it is correct.
> Also is nocona right for all Intel x86_64 processors (if I run
> freebsd/amd64)
> like xeon, new pentium D, core (2) duo and etc?
See http://en.wikipedia.org/wiki/SSE3
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20070523/33001ae6/attachment.pgp
More information about the freebsd-amd64
mailing list