diff options
author | Jan Hubicka <jh@suse.cz> | 2005-11-05 01:55:23 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-11-05 00:55:23 +0000 |
commit | 95b9a3a55c158fc87ac4164d87fdccaa33bfa8df (patch) | |
tree | 2528946d7ea31c1a4553fc28e301db2d6bfac0d1 /gcc/doc | |
parent | 50fe876da0e0792b5cf55d7eba7dd30f0efbf1de (diff) | |
download | gcc-95b9a3a55c158fc87ac4164d87fdccaa33bfa8df.zip gcc-95b9a3a55c158fc87ac4164d87fdccaa33bfa8df.tar.gz gcc-95b9a3a55c158fc87ac4164d87fdccaa33bfa8df.tar.bz2 |
re PR rtl-optimization/23490 (Long compile time for array initializer with inlined constructor)
PR rtl-optimization/23490
* doc/invoke.texi (max-predicted-iterations, max-cse-insns,
max-flow-memory-location): Document.
* flow.c: Include params.h
(MAX_MEM_SET_LIST_LEN): Kill.
(add_to_mem_set_list): Use new param.
* cse.c (cse_basic_block): Replace 1000 by new param.
* params.def (PARAM_MAX_PREDICTED_ITERATIONS, PARAM_MAX_CSE_INSNS,
PARAM_MAX_FLOW_MEMORY_LOCATIONS): New.
* predict.c (predict_loops): Use new param.
* predict.def (MAX_PRED_LOOP_ITERATIONS): Remove.
From-SVN: r106520
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 5662786..3e21896 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -5935,6 +5935,13 @@ given basic block needs to have to be considered hot. Select fraction of the maximal frequency of executions of basic block in function given basic block needs to have to be considered hot +@item max-predicted-iterations +The maximum number of loop iterations we predict statically. This is useful +in cases where function contain single loop with known bound and other loop +with unknown. We predict the known number of iterations correctly, while +the unknown nummber of iterations average to roughly 10. This means that the +loop without bounds would appear artifically cold relative to the other one. + @item tracer-dynamic-coverage @itemx tracer-dynamic-coverage-feedback @@ -5972,6 +5979,9 @@ order to make tracer effective. Maximum number of basic blocks on path that cse considers. The default is 10. +@item max-cse-insns +The maximum instructions CSE process before flushing. The default is 1000. + @item global-var-threshold Counts the number of function calls (@var{n}) and the number of @@ -6033,6 +6043,10 @@ The maximum number of memory locations cselib should take into acount. Increasing values mean more aggressive optimization, making the compile time increase with probably slightly better performance. The default value is 500. +@item max-flow-memory-location +Similar as @option{max-cselib-memory-location} but for dataflow liveness. +The default value is 100. + @item reorder-blocks-duplicate @itemx reorder-blocks-duplicate-feedback |