From owner-freebsd-amd64@FreeBSD.ORG Wed May 23 21:35:12 2007 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B520B16A41F for ; Wed, 23 May 2007 21:35:12 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 52DB813C455 for ; Wed, 23 May 2007 21:35:12 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id l4NLGmu6067196; Wed, 23 May 2007 23:16:49 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 59D8CB826; Wed, 23 May 2007 23:16:48 +0200 (CEST) Date: Wed, 23 May 2007 23:16:48 +0200 From: Roland Smith To: Stefan Lambrev Message-ID: <20070523211648.GE3705@slackbox.xs4all.nl> Mail-Followup-To: Stefan Lambrev , freebsd-amd64@freebsd.org References: <465454CF.3060601@sun-fish.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+JUInw4efm7IfTNU" Content-Disposition: inline In-Reply-To: <465454CF.3060601@sun-fish.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-amd64@freebsd.org Subject: Re: CPUTYPE X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 21:35:12 -0000 --+JUInw4efm7IfTNU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 23, 2007 at 05:50:55PM +0300, Stefan Lambrev wrote: > Hi list, >=20 > From what I read the right CPUTYPE for freebsd/amd64 and >=20 > CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (1995.02-MHz K8-cla= ss=20 > CPU) > Origin =3D "GenuineIntel" Id =3D 0x6f6 Stepping =3D 6 > =20 > Features=3D0xbfebfbff TM,PBE> > Features2=3D0xe3bd,CX16,XTPR,> > AMD Features=3D0x20100800 > AMD Features2=3D0x1 >=20 > I should use CPUTYPE?=3Dnocona , 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": =2E elif ${MACHINE_ARCH} =3D=3D "amd64" =2E if ${CPUTYPE} =3D=3D "opteron" || ${CPUTYPE} =3D=3D "athlon64" || ${CP= UTYPE} =3D=3D "k8" MACHINE_CPU =3D k8 3dnow =2E elif ${CPUTYPE} =3D=3D "nocona" MACHINE_CPU =3D sse3 =2E endif MACHINE_CPU +=3D amd64 sse2 sse mmx The only extra featuree for "nocona" seems to be the SSE3 instructions. Since your 'Features2' lists SSE3, it is correct. =20 > Also is nocona right for all Intel x86_64 processors (if I run=20 > freebsd/amd64) > like xeon, new pentium D, core (2) duo and etc? See http://en.wikipedia.org/wiki/SSE3 Roland --=20 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) --+JUInw4efm7IfTNU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGVK9AEnfvsMMhpyURAu4GAJ4vSH8FsyBjKKzYMJU59gqde1LdkwCeMlyi /FziR+xftIOaYNywUKsV5yg= =Ao/g -----END PGP SIGNATURE----- --+JUInw4efm7IfTNU--