aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-11-29 09:33:10 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-11-29 09:33:10 +0000
commitd41ca8e68fa9ac43688da71f09aedd8bde74f26e (patch)
tree792347b7f8fbbe70b402d1e8fca2d2cf210f6cc2
parent6654de69a7b37f784658232694bb5707c3eb1719 (diff)
downloadgcc-d41ca8e68fa9ac43688da71f09aedd8bde74f26e.zip
gcc-d41ca8e68fa9ac43688da71f09aedd8bde74f26e.tar.gz
gcc-d41ca8e68fa9ac43688da71f09aedd8bde74f26e.tar.bz2
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
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/doc/invoke.texi6
-rw-r--r--gcc/opts.c2
-rw-r--r--gcc/params.def10
-rw-r--r--gcc/params.h2
5 files changed, 8 insertions, 20 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a73f06f..cd4ff92 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 5796474..442562c 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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
diff --git a/gcc/opts.c b/gcc/opts.c
index e930c44..1dd9da1 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -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_:
diff --git a/gcc/params.def b/gcc/params.def
index 5bde4a1..d24ddc6 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -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,
diff --git a/gcc/params.h b/gcc/params.h
index 0ebb972..0a010b2 100644
--- a/gcc/params.h
+++ b/gcc/params.h
@@ -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 \