summaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authordorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-07 08:18:42 +0000
committerdorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-07 08:18:42 +0000
commit095421966c9288b044416b914fe115fb9f23fefd (patch)
treef042ad15742db1c1a7071c97d5bdc6214b27d841 /gcc/sched-int.h
parent0fbe5a3ef21baf78f3da21ab7fa66f9b28a812f5 (diff)
downloadgcc-095421966c9288b044416b914fe115fb9f23fefd.tar.gz
* sched-int.h (sched_info): New field
sched_max_insns_priority. * sched-rgn.c (init_ready_list): Add invocations to targetm.sched.adjust_priority. (sched_max_insns_priority): Init new field. * sched-ebb.c (sched_max_insns_priority): Init new field. * haifa-sched.c (set_priorities): Set sched_info->sched_max_insns_priority. * config/rs6000/rs6000.h: (rs6000_sched_restricted_insns_priority_str): Support new flag -mprioritize-restricted-insns. (DEFAULT_RESTRICTED_INSNS_PRIORITY): Define. * config/rs6000/rs6000.c (is_dispatch_slot_restricted): New function. (rs6000_adjust_priority): Change priority of restricted insns, using above new function and new flag. * doc/invoke.texi (-mprioritize-restricted-insns): Document new option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72186 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 061ebe419bd..ba056e051a4 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -167,6 +167,9 @@ struct sched_info
has completed, e.g. if we're using it to initialize state for successor
blocks in region scheduling. */
unsigned int use_cselib:1;
+
+ /* Maximum priority that has been assigned to an insn. */
+ int sched_max_insns_priority;
};
extern struct sched_info *current_sched_info;