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]

Remove unused ---param


The rtl inliner is no more.  There's now very little reason to have a
tuning parameter for it :)

booted & tested on i686-pc-linux-gnu, ok?

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2004-11-26  Nathan Sidwell  <nathan@codesourcery.com>

	* opts.c (decode_options): Do not set max-inline-insns-rtl.
	(common_handle_option): Likewise.
	* params.def (PARAM_MAX_INLINE_INSNS_RTL): Remove.
	* params.h (MAX_INLINE_INSNS_RTL): Remove.
	* doc/invoke.texi (max-inline-insns-rtl): Remove.

Index: opts.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/opts.c,v
retrieving revision 1.88
diff -c -3 -p -r1.88 opts.c
*** opts.c	18 Nov 2004 06:39:47 -0000	1.88
--- opts.c	26 Nov 2004 15:35:34 -0000
*************** decode_options (unsigned int argc, const
*** 572,578 ****
        /* Inlining of very small functions usually reduces total size.  */
        set_param_value ("max-inline-insns-single", 5);
        set_param_value ("max-inline-insns-auto", 5);
-       set_param_value ("max-inline-insns-rtl", 10);
        flag_inline_functions = 1;
  
        /* We want to crossjump as much as possible.  */
--- 572,577 ----
*************** common_handle_option (size_t scode, cons
*** 808,814 ****
      case OPT_finline_limit_eq:
        set_param_value ("max-inline-insns-single", value / 2);
        set_param_value ("max-inline-insns-auto", value / 2);
-       set_param_value ("max-inline-insns-rtl", value);
        break;
  
      case OPT_fmessage_length_:
--- 807,812 ----
Index: params.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/params.def,v
retrieving revision 1.48
diff -c -3 -p -r1.48 params.def
*** params.def	27 Oct 2004 21:02:07 -0000	1.48
--- params.def	26 Nov 2004 15:35:35 -0000
*************** DEFPARAM (PARAM_MAX_INLINE_RECURSIVE_DEP
*** 104,119 ****
  	  "The maximum depth of recursive inlining for non-inline functions",
  	  8)
  
- /* For languages that (still) use the RTL inliner, we can specify
-    limits for the RTL inliner separately.
-    The parameter here defines the maximum number of RTL instructions
-    a function may have to be eligible for inlining in the RTL inliner.
-    The default value is 600.  */
- DEFPARAM (PARAM_MAX_INLINE_INSNS_RTL,
- 	  "max-inline-insns-rtl",
- 	  "The maximum number of instructions for the RTL inliner",
- 	  600)
- 
  /* Limit the number of expansions created by the variable expansion
     optimization to avoid register pressure.  */
  DEFPARAM (PARAM_MAX_VARIABLE_EXPANSIONS,
--- 104,109 ----
Index: params.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/params.h,v
retrieving revision 1.23
diff -c -3 -p -r1.23 params.h
*** params.h	27 Oct 2004 21:02:07 -0000	1.23
--- params.h	26 Nov 2004 15:35:36 -0000
*************** typedef enum compiler_param
*** 96,103 ****
    PARAM_VALUE (PARAM_MIN_INLINE_INSNS)
  #define MAX_INLINE_INSNS_AUTO \
    PARAM_VALUE (PARAM_MAX_INLINE_INSNS_AUTO)
- #define MAX_INLINE_INSNS_RTL \
-   PARAM_VALUE (PARAM_MAX_INLINE_INSNS_RTL)
  #define MAX_VARIABLE_EXPANSIONS \
    PARAM_VALUE (PARAM_MAX_VARIABLE_EXPANSIONS)
  #define MAX_DELAY_SLOT_INSN_SEARCH \
--- 96,101 ----
Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.558
diff -c -3 -p -r1.558 invoke.texi
*** doc/invoke.texi	23 Nov 2004 17:39:55 -0000	1.558
--- doc/invoke.texi	26 Nov 2004 15:36:21 -0000
*************** happens only when @option{-finline-funct
*** 5426,5437 ****
  enabled and @option{--param max-inline-recursive-depth-auto} is used.  The
  default value is 500.
  
- @item max-inline-insns-rtl
- For languages that use the RTL inliner (this happens at a later stage
- than tree inlining), you can set the maximum allowable size (counted
- in RTL instructions) for the RTL inliner with this parameter.
- The default value is 600.
- 
  @item max-unrolled-insns
  The maximum number of instructions that a loop should have if that loop
  is unrolled, and if the loop is unrolled, it determines how many times
--- 5426,5431 ----

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