Commit f83594c4 by Richard Henderson Committed by Richard Henderson

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
parent eced69b5
2001-08-18 Richard Henderson <rth@redhat.com> 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. * timevar.def (TV_MACH_DEP): New.
* toplev.c (rest_of_compilation): Use it. * toplev.c (rest_of_compilation): Use it.
* config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2. * config/ia64/ia64.c (ia64_reorg): Push to TV_SCHED2.
......
...@@ -6114,6 +6114,12 @@ ia64_internal_sched_reorder (dump, sched_verbose, ready, pn_ready, ...@@ -6114,6 +6114,12 @@ ia64_internal_sched_reorder (dump, sched_verbose, ready, pn_ready,
else if (n_ready > 0) else if (n_ready > 0)
{ {
/* Only asm insns left. */ /* 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); cycle_end_fill_slots (sched_verbose ? dump : NULL);
return 1; return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment