Date: Sat, 24 Feb 2001 23:26:39 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Bruce Evans <bde@zeta.org.au> Cc: Alexander Leidinger <Alexander@Leidinger.net>, arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk sys.mk Message-ID: <20010224232638.A6907@mollari.cthul.hu> In-Reply-To: <Pine.BSF.4.21.0102241315540.25623-100000@besplex.bde.org>; from bde@zeta.org.au on Sat, Feb 24, 2001 at 01:33:14PM %2B1100 References: <20010223010514.A41551@mollari.cthul.hu> <Pine.BSF.4.21.0102241315540.25623-100000@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 24, 2001 at 01:33:14PM +1100, Bruce Evans wrote: > > Okay, I've built several binaries and libraries with -march=3Dpentiumpro > > and -march=3Dpentiumpro -mcpu=3Dpentiumpro, and verified with diff -b t= hat > > the output in both cases is indeed identical. It looks like the docs > > are correct. >=20 > ITYM "incorrect". >=20 > This just shows that your tests didn't test the small areas where > -march makes a difference (other than implying -mcpu). Examination > of gcc.295/config/i386/i386.{md,h} shows that it it only mainly (only?) > affects areas related to the i686 fcmov instruction. The following > program uses these areas, so compiling it with -march=3Dpentiumpro and > -mcpu=3Dpentiumpro gives different results: I never disputed that - what I said above was that -march implies -mcpu for i386 code (as documented), therefore for "optimal optimization" we only need -march. The docs say that -mcpu alone does different things to -march, as your test also demonstrates. Kris --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6mLOuWry0BWjoQKURAsNpAJ47bvoQqifSTOH7c2ZR4ql9oBgfwwCfSDvY FmqhEOk4xokWd16xg0Li4Uc= =WXKM -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010224232638.A6907>