From owner-freebsd-stable@FreeBSD.ORG Mon Mar 27 19:20:48 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6114816A458 for ; Mon, 27 Mar 2006 19:20:48 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5269E43D79 for ; Mon, 27 Mar 2006 19:20:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 340A51A4D8D; Mon, 27 Mar 2006 11:20:45 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 72B93513BA; Mon, 27 Mar 2006 14:20:44 -0500 (EST) Date: Mon, 27 Mar 2006 14:20:44 -0500 From: Kris Kennaway To: Nikolas Britton Message-ID: <20060327192044.GA70891@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: -march=pentium2 + -mtune=pentium4 faster then -march=pentium4? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 19:20:48 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 27, 2006 at 01:05:13PM -0600, Nikolas Britton wrote: > Why does GCC produce faster code using "-march=3Dpentium2 > -mtune=3Dpentium4" on a Pentium 4 chip versus plain -march=3Dpentium4? >=20 > Try it... >=20 > CPUTYPE=3Dpentium2 > CFLAGS+=3D -mtune=3Dpentium4 > COPTFLAGS+=3D -mtune=3Dpentium4 Talk to the gcc developers (and provide benchmarks).=20 Kris --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEKDsLWry0BWjoQKURAvKPAJ91rBoVQgbwDwZHXppdz/b89n4SqACeOuDd l3FOQ9dRbqPp1XGxm/TYIgo= =U65s -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--