params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default value to 0.
2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> * params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default value to 0. * doc/invoke.texi (max-sched-extend-regions-iters): Document. * config/ia64/ia64.c (params.h): New header. (ia64_optimization_options): New function to adjust parameters. * config/ia64/ia64-protos.h (ia64_optimization_options): New prototype. * config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro. * config/ia64/t-ia64 (ia64.o): Add dependence from params.h . From-SVN: r114425
This commit is contained in:
parent
6ff24d45dc
commit
bb83aa4bef
7 changed files with 30 additions and 3 deletions
|
@ -1,3 +1,14 @@
|
|||
2006-06-06 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
|
||||
|
||||
* params.def (PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS): Change default
|
||||
value to 0.
|
||||
* doc/invoke.texi (max-sched-extend-regions-iters): Document.
|
||||
* config/ia64/ia64.c (params.h): New header.
|
||||
(ia64_optimization_options): New function to adjust parameters.
|
||||
* config/ia64/ia64-protos.h (ia64_optimization_options): New prototype.
|
||||
* config/ia64/ia64.h (OPTIMIZATION_OPTIONS): New macro.
|
||||
* config/ia64/t-ia64 (ia64.o): Add dependence from params.h .
|
||||
|
||||
2006-06-05 Kazu Hirata <kazu@codesourcery.com>
|
||||
|
||||
* stor-layout.c (debug_rli): Fix a typo in a debug message.
|
||||
|
|
|
@ -110,3 +110,5 @@ extern enum direction ia64_hpux_function_arg_padding (enum machine_mode, tree);
|
|||
extern void ia64_hpux_handle_builtin_pragma (struct cpp_reader *);
|
||||
extern void ia64_output_function_profiler (FILE *, int);
|
||||
extern void ia64_profile_hook (int);
|
||||
|
||||
extern void ia64_optimization_options (int, int);
|
||||
|
|
|
@ -54,6 +54,7 @@ Boston, MA 02110-1301, USA. */
|
|||
#include "tree-gimple.h"
|
||||
#include "intl.h"
|
||||
#include "debug.h"
|
||||
#include "params.h"
|
||||
|
||||
/* This is used for communication between ASM_OUTPUT_LABEL and
|
||||
ASM_OUTPUT_LABELREF. */
|
||||
|
@ -9749,4 +9750,13 @@ ia64_invalid_binary_op (int op ATTRIBUTE_UNUSED, tree type1, tree type2)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* Implement overriding of the optimization options. */
|
||||
void
|
||||
ia64_optimization_options (int level ATTRIBUTE_UNUSED,
|
||||
int size ATTRIBUTE_UNUSED)
|
||||
{
|
||||
/* Let the scheduler form additional regions. */
|
||||
set_param_value ("max-sched-extend-regions-iters", 2);
|
||||
}
|
||||
|
||||
#include "gt-ia64.h"
|
||||
|
|
|
@ -2043,4 +2043,8 @@ struct machine_function GTY(())
|
|||
/* Switch on code for querying unit reservations. */
|
||||
#define CPU_UNITS_QUERY 1
|
||||
|
||||
/* Define this to change the optimizations performed by default. */
|
||||
#define OPTIMIZATION_OPTIONS(LEVEL, SIZE) \
|
||||
ia64_optimization_options ((LEVEL), (SIZE))
|
||||
|
||||
/* End of ia64.h */
|
||||
|
|
|
@ -51,4 +51,4 @@ ia64-c.o: $(srcdir)/config/ia64/ia64-c.c $(CONFIG_H) $(SYSTEM_H) \
|
|||
# genattrtab generates very long string literals.
|
||||
insn-attrtab.o-warn = -Wno-error
|
||||
|
||||
ia64.o: debug.h
|
||||
ia64.o: debug.h $(PARAMS_H)
|
||||
|
|
|
@ -6225,7 +6225,7 @@ for interblock speculative scheduling. The default value is 40.
|
|||
The maximum number of iterations through CFG to extend regions.
|
||||
0 - disable region extension,
|
||||
N - do at most N iterations.
|
||||
The default value is 2.
|
||||
The default value is 0.
|
||||
|
||||
@item max-sched-insn-conflict-delay
|
||||
The maximum conflict delay for an insn to be considered for speculative motion.
|
||||
|
|
|
@ -502,7 +502,7 @@ DEFPARAM(PARAM_MIN_SPEC_PROB,
|
|||
DEFPARAM(PARAM_MAX_SCHED_EXTEND_REGIONS_ITERS,
|
||||
"max-sched-extend-regions-iters",
|
||||
"The maximum number of iterations through CFG to extend regions",
|
||||
2, 0, 0)
|
||||
0, 0, 0)
|
||||
|
||||
DEFPARAM(PARAM_MAX_SCHED_INSN_CONFLICT_DELAY,
|
||||
"max-sched-insn-conflict-delay",
|
||||
|
|
Loading…
Add table
Reference in a new issue