Date: Wed, 26 Feb 2003 17:31:20 -0500 (EST) From: Bryan Liesner <bleez@verizon.net> To: current@freebsd.org Subject: Re: -O2 considered harmful Message-ID: <20030226172500.Q42451@gravy.kishka.net> In-Reply-To: <xzpy943xnhx.fsf@flood.ping.uio.no> References: <xzpy943xnhx.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Feb 2003, Dag-Erling Smorgrav wrote: > It seems that with -O2 on ia32 (-march=k6-2 in my case), gcc will in > some cases generate short jumps to targets too far away for the offset > to fit in a single byte. A surefire way to reproduce this is to build > Mesa (or XFree86-4-libraries, which includes parts of Mesa). > > Has anybody else run into this? > > DES > I have seen this as well, using -O2 -march=athlon-xp. The generated assembler tried to stuff -129 into a single byte. -- ========================================================== = 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?20030226172500.Q42451>