2003-01-28 Vladimir Makarov <vmakarov@redhat.com>
commite26579fc90c714ccfbc29ce1b609f20eae6133dc
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jan 2003 17:12:06 +0000 (28 17:12 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jan 2003 17:12:06 +0000 (28 17:12 +0000)
tree8180fc6a14989f4e80977340fde69e75dc5fec16
parent6126e5e7073162589ec17b49b46a15cbc65011ef
2003-01-28  Vladimir Makarov  <vmakarov@redhat.com>

* haifa-sched.c (schedule_insn): Return necessary cycle advance
after issuing the insn.
(rank_for_schedule): Make a insn with /S the highest priority
insn.
(move_insn): Ignore schedule groups.  Clear SCHED_GROUP_P.
(choose_ready): Check SCHED_GROUP_P.
(schedule_block): Advance cycle after issuing insn if it is
necessary.  Don't reorder insns if there is an insn with /S.
(set_priorities): Ignore schedule groups.

* sched-deps.c (remove_dependence, group_leader): Remove the
functions.
(add_dependence): Ignore schedule groups.
(set_sched_group_p): Don't make copy of dependencies from previous
insn of the schedule group.  Add anti-dependency to the previous
insn of the schedule group.
(compute_forward_dependences): Ignore schedule groups.

* sched-ebb.c (init_ready_list): Ignore schedule groups.

* sched-rgn.c (init_ready_list): Ditto.
(can_schedule_ready_p): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61983 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-deps.c
gcc/sched-ebb.c
gcc/sched-rgn.c