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]

[rtlopt] Wibbles


Hello,

some minor changes:

 - increase limits for peeling so that there are not loops that would be
 neither unrolled nor peeled in profitable places.
 - chage ordering in dump_file so that names and contents of dump files
 match.

Changelog:
	* params.def (PARAM_MAX_PEELED_INSNS,
	PARAM_MAX_COMPLETELY_PEELED_INSNS): Increase default parameter values.
	* toplev.c (dump_file): Sync with dump_file_index.

Index: params.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/params.def,v
retrieving revision 1.15.6.4
diff -c -3 -p -r1.15.6.4 params.def
*** params.def	20 Oct 2002 07:30:27 -0000	1.15.6.4
--- params.def	1 Nov 2002 19:05:27 -0000
*************** DEFPARAM(PARAM_MAX_UNROLL_TIMES,
*** 159,165 ****
  DEFPARAM(PARAM_MAX_PEELED_INSNS,
  	"max-peeled-insns",
  	"The maximum number of insns of a peeled loop",
! 	50)
  /* The maximum number of peelings of a single loop.  */
  DEFPARAM(PARAM_MAX_PEEL_TIMES,
  	"max-peel-times",
--- 159,165 ----
  DEFPARAM(PARAM_MAX_PEELED_INSNS,
  	"max-peeled-insns",
  	"The maximum number of insns of a peeled loop",
! 	120)
  /* The maximum number of peelings of a single loop.  */
  DEFPARAM(PARAM_MAX_PEEL_TIMES,
  	"max-peel-times",
*************** DEFPARAM(PARAM_MAX_PEEL_TIMES,
*** 169,175 ****
  DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS,
  	"max-completely-peeled-insns",
  	"The maximum number of insns of a completely peeled loop",
! 	100)
  /* The maximum number of peelings of a single loop that is peeled completely.  */
  DEFPARAM(PARAM_MAX_COMPLETELY_PEEL_TIMES,
  	"max-completely-peel-times",
--- 169,175 ----
  DEFPARAM(PARAM_MAX_COMPLETELY_PEELED_INSNS,
  	"max-completely-peeled-insns",
  	"The maximum number of insns of a completely peeled loop",
! 	120)
  /* The maximum number of peelings of a single loop that is peeled completely.  */
  DEFPARAM(PARAM_MAX_COMPLETELY_PEEL_TIMES,
  	"max-completely-peel-times",
Index: toplev.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/toplev.c,v
retrieving revision 1.668.2.7
diff -c -3 -p -r1.668.2.7 toplev.c
*** toplev.c	1 Nov 2002 00:33:33 -0000	1.668.2.7
--- toplev.c	1 Nov 2002 19:05:28 -0000
*************** static struct dump_file_info dump_file[D
*** 282,291 ****
    { "addressof", 'F', 0, 0, 0 },
    { "gcse",	'G', 1, 0, 0 },
    { "loop",	'L', 1, 0, 0 },
-   { "ce1",	'C', 1, 0, 0 },
    { "cfg",	'f', 1, 0, 0 },
    { "bp",	'b', 1, 0, 0 },
    { "loop2",	'L', 1, 0, 0 },
    { "tracer",	'T', 1, 0, 0 },
    { "cse2",	't', 1, 0, 0 },
    { "life",	'f', 1, 0, 0 },	/* Yes, duplicate enable switch.  */
--- 282,291 ----
    { "addressof", 'F', 0, 0, 0 },
    { "gcse",	'G', 1, 0, 0 },
    { "loop",	'L', 1, 0, 0 },
    { "cfg",	'f', 1, 0, 0 },
    { "bp",	'b', 1, 0, 0 },
    { "loop2",	'L', 1, 0, 0 },
+   { "ce1",	'C', 1, 0, 0 },
    { "tracer",	'T', 1, 0, 0 },
    { "cse2",	't', 1, 0, 0 },
    { "life",	'f', 1, 0, 0 },	/* Yes, duplicate enable switch.  */


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