Date: Fri, 28 Feb 2003 17:37:58 -0500 (EST) From: Bryan Liesner <bleez@verizon.net> To: current@FreeBSD.ORG Subject: Re: -O2 considered harmful Message-ID: <20030228172849.L41410@gravy.kishka.net> In-Reply-To: <20030228215121.GA68936@dragon.nuxi.com> References: <xzpy943xnhx.fsf@flood.ping.uio.no> <20030226172500.Q42451@gravy.kishka.net> <20030228215121.GA68936@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Feb 2003, David O'Brien wrote: > On Wed, Feb 26, 2003 at 05:31:20PM -0500, Bryan Liesner wrote: > > I have seen this as well, using -O2 -march=athlon-xp. > > The generated assembler tried to stuff -129 into a single byte. > > What about just trying -march=athlon? The only difference is the SSE > support, which is quite new and may have latent bugs anyway. I didn't try that, but i did not get that error using: -O2 -march=athlon-xp -mmmx -msse -m3dnow -mfpmath=sse to compile the xc/ tree I know that some of the flags above are redundant, but this worked and X is running without any crashes or wierdness. (so far). I also applied all of the above compile flags when building xscreensaver and saw a very noticeable speed improvement in some of the hacks. -- ========================================================== = Bryan D. Liesner LeezSoft Communications, Inc. = = A subsidiary of LeezSoft Inc. = = bleez@verizon.net Home of the Gipper = ========================================================== 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?20030228172849.L41410>