diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2012-04-26 15:49:13 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@linaro.org> | 2012-04-26 15:49:13 +0000 |
commit | e6555ae74f85968a08b8c0ffebdbc9a135b58385 (patch) | |
tree | 0b3d9999b8df0a4c318f7b17e4768bac0e113eb7 /gcc/common.opt | |
parent | 2c52c7a5d3c36c511075b91a4a7d3d19938baf5b (diff) |
gcc/
* common.opt (fsched-pressure-algorithm=): New option.
* flag-types.h (sched_pressure_algorithm): New enum.
* sched-int.h (sched_pressure_p): Replace with...
(sched_pressure): ...this new variable.
* haifa-sched.c (sched_pressure_p): Replace with...
(sched_pressure): ...this new variable.
(sched_regno_pressure_class, rank_for_schedule, ready_sort)
(update_reg_and_insn_max_reg_pressure, schedule_insn)
(debug_ready_list, prune_ready_list, schedule_block, sched_init)
(sched_finish, fix_tick_ready, haifa_init_insn): Update accordingly.
* sched-deps.c (init_insn_reg_pressure_info): Likewise.
(sched_analyze_insn): Likewise.
* sched-rgn.c (schedule_region): Likewise.
* config/m68k/m68k.c (m68k_sched_variable_issue): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@186881 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 4a2508c7113..37e806a1f2b 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1665,6 +1665,19 @@ fsched-pressure Common Report Var(flag_sched_pressure) Init(0) Optimization Enable register pressure sensitive insn scheduling +fsched-pressure-algorithm= +Common Joined RejectNegative Enum(sched_pressure_algorithm) Var(flag_sched_pressure_algorithm) Init(SCHED_PRESSURE_WEIGHTED) +-fsched-pressure-algorithm=[weighted|model] Set the pressure-scheduling algorithm + +Enum +Name(sched_pressure_algorithm) Type(enum sched_pressure_algorithm) UnknownError(unknown %<fsched-pressure%> algorithm %qs) + +EnumValue +Enum(sched_pressure_algorithm) String(weighted) Value(SCHED_PRESSURE_WEIGHTED) + +EnumValue +Enum(sched_pressure_algorithm) String(model) Value(SCHED_PRESSURE_MODEL) + fsched-spec Common Report Var(flag_schedule_speculative) Init(1) Optimization Allow speculative motion of non-loads |