Re: gnome2/x11 slow after optimization!

From: Andrew Reilly <andrew-freebsd_at_areilly.bpc-users.org>
Date: Tue, 26 Aug 2008 17:06:33 +1000
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
Received on Tue Aug 26 2008 - 09:02:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:34 UTC