mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-12 02:06:52 +08:00
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
This commit is contained in:
parent
6654de69a7
commit
d41ca8e68f
@ -1,3 +1,11 @@
|
||||
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>
|
||||
|
||||
PR target/9571
|
||||
|
@ -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
|
||||
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
|
||||
|
@ -572,7 +572,6 @@ decode_options (unsigned int argc, const char **argv)
|
||||
/* 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. */
|
||||
@ -808,7 +807,6 @@ common_handle_option (size_t scode, const char *arg, int value)
|
||||
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_:
|
||||
|
@ -104,16 +104,6 @@ DEFPARAM (PARAM_MAX_INLINE_RECURSIVE_DEPTH_AUTO,
|
||||
"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,
|
||||
|
@ -96,8 +96,6 @@ typedef enum compiler_param
|
||||
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user