* config/mep/mep.h (CC1_SPEC): Tweak parameters to trigger
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2009 01:53:07 +0000 (01:53 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Jul 2009 01:53:07 +0000 (01:53 +0000)
unrolling at the right iteration count.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149614 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mep/mep.h

index 4403003..cabfbe6 100644 (file)
@@ -1,5 +1,8 @@
 2009-07-13  DJ Delorie  <dj@redhat.com>
 
+       * config/mep/mep.h (CC1_SPEC): Tweak parameters to trigger
+       unrolling at the right iteration count.
+
        * config/mep/mep.c (mep_expand_prologue): Fix frame pointer
        calculations.
 
index 4f58f70..353823c 100644 (file)
@@ -43,8 +43,8 @@ along with GCC; see the file COPYING3.  If not see
 
 #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)}"