Le mercredi 13 septembre 2006 15:59, Stephan Kulow a écrit :
Am Mittwoch, 13. September 2006 20:57 schrieb Marc Collin:
minimum to be done: -march=x86-64
i think x86 64 bits have minimum sse2
-mfpmath=sse2
-msse2 -funroll-all-loops
Make sure you read http://funroll-loops.org/ - what exactly do you measure?
time to start, time to run function..... when i created some program in C for a company i used often something similar to.... g++ -O2 -funroll-all-loops -fomit-frame-pointer -ffast-math -march=x86-64 -mfpmath=sse program_name.cpp -o program_name i get about 10% faster then the standard syntax.... without change my code..... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org