This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[mep] tweak unrolling parameters
- From: DJ Delorie <dj at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 Jul 2009 21:53:10 -0400
- Subject: [mep] tweak unrolling parameters
Committed.
* config/mep/mep.h (CC1_SPEC): Tweak parameters to trigger
unrolling at the right iteration count.
Index: config/mep/mep.h
===================================================================
--- config/mep/mep.h (revision 149613)
+++ config/mep/mep.h (working copy)
@@ -40,14 +40,14 @@ along with GCC; see the file COPYING3.
%{mconfig=*:-D__MEP_CONFIG_%*} \
%{mivc2:-D__MEP_CONFIG_CP_DATA_BUS_WIDTH=64} \
"
#undef CC1_SPEC
#define CC1_SPEC "%{!mlibrary:%(config_cc_spec)} \
-%{!.cc:%{O2:%{!funroll*:--param max-completely-peeled-insns=10 \
- --param max-unrolled-insns=10 -funroll-loops}}}"
+%{!.cc:%{O2:%{!funroll*:--param max-completely-peeled-insns=6 \
+ --param max-unrolled-insns=6 -funroll-loops}}}"
#undef CC1PLUS_SPEC
#define CC1PLUS_SPEC "%{!mlibrary:%(config_cc_spec)}"
#undef ASM_SPEC
#define ASM_SPEC "%{mconfig=*} %{meb:-EB} %{mel:-EL} \