So I just tested these flags out on my 2.53 GHz P4, and they made a
pretty big difference. I can eek out an extra 10-12 ms of latency, which
is huge for vinyl control.

I hope we can figure out how to do architecture detection from
SCons/python. (cat /proc/cpuinfo?)

Thanks for the flags Pieter!

Albert

On Wed, 2007-11-21 at 19:11 +0100, Pieter Palmers wrote:
> Albert Santoni wrote:
> > Ok, couple of problems:
> > 
> > 1) We already have -O3 in two other places on unix (always turned on).
> > We really do want these turned on by default on unix, so I've removed
> > the -O3 from the other spots and made your optimizations block enabled
> > by default on unix.
> 
> It is worthwhile to specify whether the CPU is a pentium or not:
> i.e.: -march=pentium
> since this enables more efficient float <=> int conversion. The 
> performance penalty of the stock GCC conversion is rather large.
> 
> if you can figure out during configuration whether the architecture is 
> i686 and supports mmx/sse, the following will gain you even more float 
> performance:
> -mmmx -msse -mfpmath=sse
> 
> Some more general GCC optimization flags:
> -fomit-frame-pointer -ffast-math -funroll-loops
> 
> Especially the inclusion of floating point math optimization will give 
> you a lot of improvement. And who uses mixxx on a 486 anyway?
> 
> Greets,
> 
> Pieter


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to