Lee Elliott wrote: > On Sunday 10 August 2003 06:24, Norman Vine wrote: > > I upgraded my MingW compiler to gcc3.3 > > and tried the following CFLAGS to use the sse multimedia > > registers instead of the normal 387 fpu instructions > > > > -O2 -march=pentium3 -msse -mfpmath=sse > > > > Wow -- seems like a nice improvement in the fps :-) > > > > You will need a P3 or better for this > > not exactly sure what the flags are for the AMD chips > > but it's probably worth experimenting > > > > If you have a Pentium 4 try > > -O2 -march=pentium4 -msse2 -mfpmath=sse2 > > and this will do the same for doubles that sse does > > for floats > > > > Note these compiler flags are present in earlier versions > > of gcc but the code emitted had a few problems. It seems > > as if 3.3 got things right at least for FGFS :-) > > > > Cheers > > > > Norman > > How do I go about specifying these flags when I compile? Is there a command > line option or do I need to add them to one of the build files?
# CXXFLAGS="-O2 -march=pentium3 -msse -mfpmath=sse" ./configure -Fred _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
