From owner-freebsd-amd64@FreeBSD.ORG Fri May 25 09:26:14 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 1519616A468 for ; Fri, 25 May 2007 09:26:14 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1A913C45A for ; Fri, 25 May 2007 09:26:13 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l4P9Q9Uc001699; Fri, 25 May 2007 19:26:09 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l4P9Q9Vf001698; Fri, 25 May 2007 19:26:09 +1000 (EST) (envelope-from peter) Date: Fri, 25 May 2007 19:26:09 +1000 From: Peter Jeremy To: "Conrad J. Sabatier" Message-ID: <20070525092609.GD1159@turion.vk2pj.dyndns.org> References: <465454CF.3060601@sun-fish.com> <200705250445.l4P4jRp5076893@serene.no-ip.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <200705250445.l4P4jRp5076893@serene.no-ip.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.15 (2007-04-06) 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 09:26:14 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-May-24 23:45:27 -0500, "Conrad J. Sabatier" wrote: >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. Sounds good. But does gcc 4.2 generate optimal code for the CPU? ISTR bde@ pointing out a number of cases where the "obvious" CPU type generates code that is slower than code compiled for a different architecture (for gcc 3.4). --=20 Peter Jeremy --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGVqux/opHv/APuIcRAhS/AKC473SGMj/sWKc0GBJRdjBwW/TEygCffW8Q IQReEfPtx/ZUj5rPfX+TZdo= =DSTR -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--