Commit d41ca8e6 by Nathan Sidwell Committed by Nathan Sidwell

opts.c (decode_options): Do not set max-inline-insns-rtl.

	* 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.

From-SVN: r91463
parent 6654de69
2004-11-29 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.
2004-11-29 Alan Modra <amodra@bigpond.net.au> 2004-11-29 Alan Modra <amodra@bigpond.net.au>
PR target/9571 PR target/9571
......
...@@ -5426,12 +5426,6 @@ happens only when @option{-finline-functions} (included in @option{-O3}) is ...@@ -5426,12 +5426,6 @@ happens only when @option{-finline-functions} (included in @option{-O3}) is
enabled and @option{--param max-inline-recursive-depth-auto} is used. The enabled and @option{--param max-inline-recursive-depth-auto} is used. The
default value is 500. 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 @item max-unrolled-insns
The maximum number of instructions that a loop should have if that loop 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 is unrolled, and if the loop is unrolled, it determines how many times
......
...@@ -572,7 +572,6 @@ decode_options (unsigned int argc, const char **argv) ...@@ -572,7 +572,6 @@ decode_options (unsigned int argc, const char **argv)
/* Inlining of very small functions usually reduces total size. */ /* Inlining of very small functions usually reduces total size. */
set_param_value ("max-inline-insns-single", 5); set_param_value ("max-inline-insns-single", 5);
set_param_value ("max-inline-insns-auto", 5); set_param_value ("max-inline-insns-auto", 5);
set_param_value ("max-inline-insns-rtl", 10);
flag_inline_functions = 1; flag_inline_functions = 1;
/* We want to crossjump as much as possible. */ /* We want to crossjump as much as possible. */
...@@ -808,7 +807,6 @@ common_handle_option (size_t scode, const char *arg, int value) ...@@ -808,7 +807,6 @@ common_handle_option (size_t scode, const char *arg, int value)
case OPT_finline_limit_eq: case OPT_finline_limit_eq:
set_param_value ("max-inline-insns-single", value / 2); set_param_value ("max-inline-insns-single", value / 2);
set_param_value ("max-inline-insns-auto", value / 2); set_param_value ("max-inline-insns-auto", value / 2);
set_param_value ("max-inline-insns-rtl", value);
break; break;
case OPT_fmessage_length_: case OPT_fmessage_length_:
......
...@@ -104,16 +104,6 @@ DEFPARAM (PARAM_MAX_INLINE_RECURSIVE_DEPTH_AUTO, ...@@ -104,16 +104,6 @@ DEFPARAM (PARAM_MAX_INLINE_RECURSIVE_DEPTH_AUTO,
"The maximum depth of recursive inlining for non-inline functions", "The maximum depth of recursive inlining for non-inline functions",
8) 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 /* Limit the number of expansions created by the variable expansion
optimization to avoid register pressure. */ optimization to avoid register pressure. */
DEFPARAM (PARAM_MAX_VARIABLE_EXPANSIONS, DEFPARAM (PARAM_MAX_VARIABLE_EXPANSIONS,
......
...@@ -96,8 +96,6 @@ typedef enum compiler_param ...@@ -96,8 +96,6 @@ typedef enum compiler_param
PARAM_VALUE (PARAM_MIN_INLINE_INSNS) PARAM_VALUE (PARAM_MIN_INLINE_INSNS)
#define MAX_INLINE_INSNS_AUTO \ #define MAX_INLINE_INSNS_AUTO \
PARAM_VALUE (PARAM_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 \ #define MAX_VARIABLE_EXPANSIONS \
PARAM_VALUE (PARAM_MAX_VARIABLE_EXPANSIONS) PARAM_VALUE (PARAM_MAX_VARIABLE_EXPANSIONS)
#define MAX_DELAY_SLOT_INSN_SEARCH \ #define MAX_DELAY_SLOT_INSN_SEARCH \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment