http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50480
--- Comment #2 from Yukhin Kirill <kirill.yukhin at intel dot com> 2011-09-22 10:33:06 UTC --- Here is optset details: base=-static -O2 -ffast-math ("-m32 -msse2 -mfpmath=sse" if 32 bit mode) peak=-static -O3 -funroll-loops -ffast-math ("-m32 -msse2 -mfpmath=sse" if 32 bit mode) For SandyBridge: += "-mavx -march=corei7" For Core i7: += "-march=corei7" For AMD: += "-march=amdfam10" (not sure this is the best)