This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Enable -funroll-loops at -O3
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, "gcc-patches at gcc dot gnu dot org Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 14 Jan 2005 12:36:46 -0800
- Subject: Re: [PATCH] Enable -funroll-loops at -O3
- Organization: CodeSourcery, LLC
- References: <B6187574-64B7-11D9-A683-000A95D692F4@physics.uc.edu> <41E6833A.5080804@redhat.com>
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