From 095421966c9288b044416b914fe115fb9f23fefd Mon Sep 17 00:00:00 2001 From: dorit Date: Tue, 7 Oct 2003 08:18:42 +0000 Subject: * 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 --- gcc/sched-int.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/sched-int.h') 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; -- cgit v1.2.3