summaryrefslogtreecommitdiff
path: root/gcc/sched-int.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-04 17:46:14 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-04 17:46:14 +0000
commit37cde9fbd87fa48654189caaa91a1dd9da27f1e5 (patch)
tree100d6f14c9cba9eedae456288118fc9c150d270b /gcc/sched-int.h
parentf16b610238f6abc257898e58253e27a3aa5ca622 (diff)
downloadgcc-37cde9fbd87fa48654189caaa91a1dd9da27f1e5.tar.gz
* sched-int.h (struct deps): New field libcall_block_tail_insn.
* sched_deps.c (init_deps): Initialize libcall_block_tail_insn. * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn is set, then mark the current insn as being part of a libcall scheduling group. (sched_analyze): Set and clear libcall_block_tail_insn appropriately. * haifa-sched.c (schedule_block): Do not count USE or CLOBBER insns against the issue rate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54251 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r--gcc/sched-int.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h
index 56c200e86fb..9ec916ea48e 100644
--- a/gcc/sched-int.h
+++ b/gcc/sched-int.h
@@ -86,6 +86,12 @@ struct deps
the call. */
bool in_post_call_group_p;
+ /* Set to the tail insn of the outermost libcall block.
+
+ When nonzero, we will mark each insn processed by sched_analyze_insn
+ with SCHED_GROUP_P to ensure libcalls are scheduled as a unit. */
+ rtx libcall_block_tail_insn;
+
/* The maximum register number for the following arrays. Before reload
this is max_reg_num; after reload it is FIRST_PSEUDO_REGISTER. */
int max_reg;