aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorDorit Naishlos <dorit@il.ibm.com>2003-10-07 08:18:42 +0000
committerDorit Nuzman <dorit@gcc.gnu.org>2003-10-07 08:18:42 +0000
commit79ae11c4a302d90b678ed23fe4ccfb6a163a19fc (patch)
treef042ad15742db1c1a7071c97d5bdc6214b27d841 /gcc/sched-int.h
parent118355a03a02364b065d54f0d2fcfba4280b1226 (diff)
downloadgcc-79ae11c4a302d90b678ed23fe4ccfb6a163a19fc.zip
gcc-79ae11c4a302d90b678ed23fe4ccfb6a163a19fc.tar.gz
gcc-79ae11c4a302d90b678ed23fe4ccfb6a163a19fc.tar.bz2
sched-int.h (sched_info): New field sched_max_insns_priority.
* 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. From-SVN: r72186
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 061ebe4..ba056e0 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;