Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2006 14:20:44 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Nikolas Britton <nikolas.britton@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: -march=pentium2 + -mtune=pentium4 faster then -march=pentium4?
Message-ID:  <20060327192044.GA70891@xor.obsecurity.org>
In-Reply-To: <ef10de9a0603271105v3f68bd69q883e853366fb36d@mail.gmail.com>
References:  <ef10de9a0603271105v3f68bd69q883e853366fb36d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060327192044.GA70891>