unrolling at the right iteration count.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149614
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
#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)}"