aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2012-04-26 15:49:13 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2012-04-26 15:49:13 +0000
commit60867e8c63a99fe6df24d0a0a7f53b6545a92cad (patch)
tree0b3d9999b8df0a4c318f7b17e4768bac0e113eb7 /gcc/common.opt
parent2b3ecd379cc9c0425004c4d24bbe805f4ef37650 (diff)
downloadgcc-60867e8c63a99fe6df24d0a0a7f53b6545a92cad.zip
gcc-60867e8c63a99fe6df24d0a0a7f53b6545a92cad.tar.gz
gcc-60867e8c63a99fe6df24d0a0a7f53b6545a92cad.tar.bz2
common.opt (fsched-pressure-algorithm=): New option.
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. From-SVN: r186881
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 4a2508c7..37e806a 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