gnome2/x11 slow after optimization!

Andrew Reilly andrew-freebsd at areilly.bpc-users.org
Tue Aug 26 11:02:38 UTC 2008


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


More information about the freebsd-current mailing list