haifa-sched.c (schedule_block): Use ready_remove_first instead of choose_ready for non-dfa insn scheduling.
2003-09-15 Vladimir Makarov <vmakarov@redhat.com> * haifa-sched.c (schedule_block): Use ready_remove_first instead of choose_ready for non-dfa insn scheduling. From-SVN: r71403
This commit is contained in:
parent
3afd2e2007
commit
3d9b02802d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-09-15 Vladimir Makarov <vmakarov@redhat.com>
|
||||
|
||||
* haifa-sched.c (schedule_block): Use ready_remove_first instead
|
||||
of choose_ready for non-dfa insn scheduling.
|
||||
|
||||
2003-09-15 Andreas Jaeger <aj@suse.de>
|
||||
Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
|
|
|
@ -2246,7 +2246,7 @@ schedule_block (int b, int rgn_n_insns)
|
|||
if (ready.n_ready == 0 || !can_issue_more
|
||||
|| !(*current_sched_info->schedule_more_p) ())
|
||||
break;
|
||||
insn = choose_ready (&ready);
|
||||
insn = ready_remove_first (&ready);
|
||||
cost = actual_hazard (insn_unit (insn), insn, clock_var, 0);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue