solafidefarms wrote:Has anyone successfully compiled their world with -funroll-loops, and given this info from the documentation, is it not unsafe to put it in my cflags?
Yes, I compiled whole world with these flags:
Code: Select all
-O2 -march=native -pipe -fomit-frame-pointer -fno-ident -funroll-loops -ftracer
And everything compiled fine with them. I did this because I was just curious about -funroll-loops and its influence on performance and actually I don't see any major difference (well, start of xorg-server takes about 1 extra second, to be honest). I didn't make any tests, so I won't say some programs are faster (although I feel so), because I don't know whether they are really faster. Only lame is faster for sure.