From owner-freebsd-amd64@FreeBSD.ORG Fri May 25 04:45:35 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 38CDD16A421 for ; Fri, 25 May 2007 04:45:35 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao105.cox.net (eastrmmtao105.cox.net [68.230.240.47]) by mx1.freebsd.org (Postfix) with ESMTP id C27F113C4BE for ; Fri, 25 May 2007 04:45:34 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao105.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070525044532.DZLE11792.eastrmmtao105.cox.net@eastrmimpo02.cox.net>; Fri, 25 May 2007 00:45:32 -0400 Received: from serene.no-ip.org ([72.200.17.85]) by eastrmimpo02.cox.net with bizsmtp id 3GlW1X0091q7YRk0000000; Fri, 25 May 2007 00:45:33 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.14.1/8.14.1) with ESMTP id l4P4jRp5076893; Thu, 24 May 2007 23:45:28 -0500 (CDT) (envelope-from conrads@cox.net) Message-Id: <200705250445.l4P4jRp5076893@serene.no-ip.org> Date: Thu, 24 May 2007 23:45:27 -0500 From: "Conrad J. Sabatier" To: Stefan Lambrev In-Reply-To: <465454CF.3060601@sun-fish.com> References: <465454CF.3060601@sun-fish.com> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Fri, 25 May 2007 04:45:35 -0000 On Wed, 23 May 2007 17:50:55 +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 TM,PBE> > Features2=0xe3bd,CX16,XTPR,> > AMD Features=0x20100800 > AMD Features2=0x1 > > I should use CPUTYPE?=nocona , right? > I just want to be sure :) > > 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? > > Please CC me when answer, because I'm not subscribed to this list. > > Thanks. Actually, section 3.17.14 in the gcc 4.2.0 docs (Intel 386 and AMD x86-64 Options) states that there is now also available a new "native" CPU type, which will cause gcc to determine the CPU type of the build machine and generate code for the same. No more guesswork needed on the part of the user! I've already tried it here, setting "CPUTYPE=native" in /etc/make.conf, and it works fine. Pretty nifty, huh? :-) I don't know if this is available for other architectures, haven't looked to see. -- Conrad J. Sabatier