From owner-freebsd-current Wed Feb 26 12: 7: 7 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0775337B401 for ; Wed, 26 Feb 2003 12:07:06 -0800 (PST) Received: from storming.org (MG034063.user.veloxzone.com.br [200.165.34.63]) by mx1.FreeBSD.org (Postfix) with SMTP id 659EC43FBF for ; Wed, 26 Feb 2003 12:06:55 -0800 (PST) (envelope-from fred@storming.org) Received: (qmail 1401 invoked by uid 1000); 26 Feb 2003 17:06:35 -0300 Date: Wed, 26 Feb 2003 17:06:35 -0300 From: Fred Souza To: Doug Barton Cc: Dag-Erling Smorgrav , current@FreeBSD.ORG Subject: Re: -O2 considered harmful Message-ID: <20030226200635.GA1368@torment.storming.org> Reply-To: fred@storming.org References: <20030226113815.W5357@znfgre.tberna.bet> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: <20030226113815.W5357@znfgre.tberna.bet> X-Sender: fred@storming.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I was recently a participant in a thread in another forum where all sorts > of people, including a well respected gcc developer, said categorically > that the latest (stock) gcc produces correct code with -O2 in all cases on > ia32. If it doesn't, the gcc folks would like a bug report. I use -O3 -mmmx -m3dnow -march=3Dk6-2 on nearly everything (things that break with that many optimization, such as XFree86-4-libraries, I "downgrade" to the highest optimization possible - usually -O2), and I'm not noticing any bad impacts because of it. And by "nearly everything" I even meant the kernel (yes, I can respect if anyone screams "NUTZ!@!" ;-) Fred --=20 Insulting a person's appearance: That's what they mean by dark and handsome. When it's dark, you're handsome... --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+XR5LZNmEsrl+ROERAtBgAJ9crdPXenfDs3POPUDjZVMXMkbzvQCfXhVS y92od/HCKBkKoAJoD5ad34w= =apmp -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message