Date: Wed, 26 Feb 2003 17:06:35 -0300 From: Fred Souza <fred@storming.org> To: Doug Barton <DougB@FreeBSD.ORG> Cc: Dag-Erling Smorgrav <des@ofug.org>, current@FreeBSD.ORG Subject: Re: -O2 considered harmful Message-ID: <20030226200635.GA1368@torment.storming.org> In-Reply-To: <20030226113815.W5357@znfgre.tberna.bet> References: <xzpy943xnhx.fsf@flood.ping.uio.no> <20030226113815.W5357@znfgre.tberna.bet>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030226200635.GA1368>