From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 11:02:38 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72E4D1065676 for ; Tue, 26 Aug 2008 11:02:38 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nschwqsrv03p.mx.bigpond.com (nschwqsrv03p.mx.bigpond.com [61.9.189.237]) by mx1.freebsd.org (Postfix) with ESMTP id 10A698FC19 for ; Tue, 26 Aug 2008 11:02:37 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from nschwotgx03p.mx.bigpond.com ([124.188.162.219]) by nschwmtas03p.mx.bigpond.com with ESMTP id <20080826070638.GUSO17360.nschwmtas03p.mx.bigpond.com@nschwotgx03p.mx.bigpond.com> for ; Tue, 26 Aug 2008 07:06:38 +0000 Received: from areilly.bpa.nu ([124.188.162.219]) by nschwotgx03p.mx.bigpond.com with ESMTP id <20080826070637.ZVLL11041.nschwotgx03p.mx.bigpond.com@areilly.bpa.nu> for ; Tue, 26 Aug 2008 07:06:37 +0000 Received: (qmail 13793 invoked by uid 501); 26 Aug 2008 07:06:33 -0000 Date: Tue, 26 Aug 2008 17:06:33 +1000 From: Andrew Reilly To: Rohit Tripathi Message-ID: <20080826070633.GA85357@duncan.reilly.home> References: <33615c8e0808211038l7b9ab665l67f0439d3f40e6a6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33615c8e0808211038l7b9ab665l67f0439d3f40e6a6@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150204.48B3AB7E.0061,ss=1,fgs=0 Cc: freebsd-current@freebsd.org Subject: Re: gnome2/x11 slow after optimization! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2008 11:02:38 -0000 On Thu, Aug 21, 2008 at 01:38:09PM -0400, Rohit Tripathi wrote: > CFLAGS= -O3 -pipe -mtune=core2 -m128bit-long-double -mfpmath=sse Just on top of what everyone else has said, (i.e., "don't do that"), the -m128bit-long-double option is almost certainly going to break something if you're operating in 32-bit mode (it changes the ABI for some functions and struct alignment), with the caveat that the "long double" type is almost never used, so you might get away with it just by default. It certainly isn't going to help when you're using sse math, which doesn't do long doubles at all. I'd be very surprised if either Gnome2 or x11 did anything with long double, so this comment really defaults to the initial statement: "don't do that". Cheers, -- Andrew