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]

[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} \


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