Date: Wed, 26 Feb 2003 20:44:56 +0000 From: Bruce Cran <bruce@cran.org.uk> To: Fred Souza <fred@storming.org> Cc: current@freebsd.org Subject: Re: -O2 considered harmful Message-ID: <20030226204456.GA4513@fourtytwo.brucec.backnet> In-Reply-To: <20030226200635.GA1368@torment.storming.org> References: <xzpy943xnhx.fsf@flood.ping.uio.no> <20030226113815.W5357@znfgre.tberna.bet> <20030226200635.GA1368@torment.storming.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 26, 2003 at 05:06:35PM -0300, Fred Souza wrote: > > 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=k6-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!@!" ;-) > Is it just me, or does mozilla break when things are compiled with -march=athlon-xp? I'm not sure what happens, but mozilla starts to load, a window flashes up briefly before mozilla quits. Running dbg on it says that it segfaults in WindowGetHeight() or some such function. When I recompile _everything_ back using -O -march=pentiumpro it works again. I'm sure I've compiled it for athlon-xp before on 5.0-RELEASE, has something changed to break it? Bruce Cran 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?20030226204456.GA4513>