-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Johannes Sixt schrieb: > - Adding all those optimization options, -funroll-loops > -minline-all-stringops > etc. to the default compile line is a big NO-NO. It may be convenient for > you, but it is not good practice in general. Is there any harm done if I > remove them?
Typically and in most cases, it is just sufficient to use -O3 The compiler has sensible defaults for most cases. In the Patch I see the line CPU_CFLAGS=" -march=athlon64 -funroll-loops -minline-all-stringops -ffast-math -mmmx -msse -msse2 - -msse3 -m3dnow -DHAVE_MMX -DUSE_MMX -DHAVE_3dnow $CPU_CFLAGS" This is a lot of redundant and superfluos information. As far as I am informed, the only thing you *really* should switch on for AMD64 is the switch -msse3 This includes all previous SSE levels and superseedes MMX and 3DNow! So, at least the line should be for X86_64: CPU_CFLAGS=" -march=athlon64 -msse3 .......... What are the "-DHAVE_MMX -DUSE_MMX -DHAVE_3dnow" good for? Does anyone know? Hermann V. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF4DvfZbZrB6HelLIRAkEeAKCWrmHpTlP2CGbRuntAOx/DvqJs4gCgpG8O vNQPfM12yzwr/UweJI4FziQ= =X6rh -----END PGP SIGNATURE----- _______________________________________________ Cinelerra mailing list Cinelerra@skolelinux.no https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra