ia64.c (ia64_internal_sched_reorder): Emit stop bit before asm as needed.

* config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
        bit before asm as needed.

From-SVN: r45018
This commit is contained in:
Richard Henderson 2001-08-18 19:46:30 -07:00 committed by Richard Henderson
parent eced69b5dd
commit f83594c41c
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-08-18 Richard Henderson <rth@redhat.com>
* config/ia64/ia64.c (ia64_internal_sched_reorder): Emit stop
bit before asm as needed.
2001-08-18 Richard Henderson <rth@redhat.com>
* timevar.def (TV_MACH_DEP): New.

View File

@ -6114,6 +6114,12 @@ ia64_internal_sched_reorder (dump, sched_verbose, ready, pn_ready,
else if (n_ready > 0)
{
/* Only asm insns left. */
if (ia64_final_schedule && group_barrier_needed_p (ready[n_ready - 1]))
{
schedule_stop (sched_verbose ? dump : NULL);
sched_data.last_was_stop = 1;
maybe_rotate (sched_verbose ? dump : NULL);
}
cycle_end_fill_slots (sched_verbose ? dump : NULL);
return 1;
}