This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Enable -funroll-loops at -O3


Diego Novillo wrote:
Andrew Pinski wrote:

This seems like something which we should do as it is a huge boost for most
code now.


I ran SPEC95 and SPEC2000 on x86 with -funroll-loops. Attached are the comparisons with and without -funroll-loops:

I think it is reasonable to include -funroll-loops at -O3. However, it would be nice to fix the code-generation problem you found with SPEC, given that people will now run into the problem more often. (I know of a fair number of people who use -O3 all the time, but do not use -funroll-loops.)


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]