Hi Norman,

I haven't upgraded to gcc 3.3, I had planned on waiting until gcc 3.4 or
even later.  Can you give us an indication of what kind of performance
benefit this can give?

Chris
On Sun, 2003-08-10 at 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
> 
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
-- 
Christopher S Horler <[EMAIL PROTECTED]>


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to