diff options
author | Richard Biener <rguenther@suse.de> | 2014-07-23 09:10:37 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-07-23 09:10:37 +0000 |
commit | e9a8fc239e24b5afc496a5f8595c3dc2c476b1c2 (patch) | |
tree | efff919dae3e3c39dde168a95ba6b1d9ee02b9df /gcc/params.def | |
parent | 322a0b39c823f42ee11cbf4c65e9f4a150f9edb6 (diff) | |
download | gcc-e9a8fc239e24b5afc496a5f8595c3dc2c476b1c2.zip gcc-e9a8fc239e24b5afc496a5f8595c3dc2c476b1c2.tar.gz gcc-e9a8fc239e24b5afc496a5f8595c3dc2c476b1c2.tar.bz2 |
params.def (PARAM_MAX_COMBINE_INSNS): New.
2014-07-23 Richard Biener <rguenther@suse.de>
* params.def (PARAM_MAX_COMBINE_INSNS): New.
* combine.c: Include statistics.h and params.h.
(combine_instructions): Guard three and four insn combines
with max-combine-insns value. Record statistics for combines
performed.
* doc/invoke.texi (max-combine-insns): Document new param.
From-SVN: r212923
Diffstat (limited to 'gcc/params.def')
-rw-r--r-- | gcc/params.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def index aa1e88d..595a093 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -673,6 +673,11 @@ DEFPARAM(PARAM_MAX_LAST_VALUE_RTL, "The maximum number of RTL nodes that can be recorded as combiner's last value", 10000, 0, 0) +DEFPARAM(PARAM_MAX_COMBINE_INSNS, + "max-combine-insns", + "The maximum number of insns combine tries to combine", + 4, 2, 4) + /* INTEGER_CST nodes are shared for values [{-1,0} .. N) for {signed,unsigned} integral types. This determines N. Experimentation shows 251 to be a good value that generates the |