Hello,

any specific reason why we still don't unroll loops by default at -O3? It
looks like it gives better results on most benchmark, and many people use it
always together with -O3 to say "really optimize, I mean it".

Giovanni Bajo



Index: opts.c
===================================================================
--- opts.c      (revision 106352)
+++ opts.c      (working copy)
@@ -589,6 +589,7 @@ decode_options (unsigned int argc, const
       flag_inline_functions = 1;
       flag_unswitch_loops = 1;
       flag_gcse_after_reload = 1;
+      flag_unroll_loops = 1;
     }

   if (optimize < 2 || optimize_size)

Reply via email to