From owner-freebsd-current Fri Feb 28 14:38: 2 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 20E3A37B401 for ; Fri, 28 Feb 2003 14:38:01 -0800 (PST) Received: from out001.verizon.net (out001pub.verizon.net [206.46.170.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 249F643FB1 for ; Fri, 28 Feb 2003 14:38:00 -0800 (PST) (envelope-from bleez@verizon.net) Received: from gravy.kishka.net ([151.197.249.111]) by out001.verizon.net (InterMail vM.5.01.05.27 201-253-122-126-127-20021220) with ESMTP id <20030228223759.PHVV5518.out001.verizon.net@gravy.kishka.net> for ; Fri, 28 Feb 2003 16:37:59 -0600 Received: from localhost (localhost [127.0.0.1]) by gravy.kishka.net (8.12.7/8.12.7) with ESMTP id h1SMbwqf041419 for ; Fri, 28 Feb 2003 17:37:58 -0500 (EST) (envelope-from bleez@verizon.net) Date: Fri, 28 Feb 2003 17:37:58 -0500 (EST) From: Bryan Liesner X-X-Sender: root@gravy.kishka.net To: current@FreeBSD.ORG Subject: Re: -O2 considered harmful In-Reply-To: <20030228215121.GA68936@dragon.nuxi.com> Message-ID: <20030228172849.L41410@gravy.kishka.net> References: <20030226172500.Q42451@gravy.kishka.net> <20030228215121.GA68936@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [151.197.249.111] at Fri, 28 Feb 2003 16:37:59 -0600 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 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