Commit 3b63eac4 by Bernd Schmidt Committed by Bernd Schmidt

When moving asms out of the way, don't move all of them to the same place

From-SVN: r45138
parent 3e7c7805
......@@ -3,6 +3,9 @@
* config/ia64/ia64.c (rws_update): If !pred, set write_count
instead of incrementing it.
* config/ia64/ia64.c (ia64_sched_reorder): When there's more than one
asm ready, don't try to move them all into the same array element.
Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
* function.c (thread_prologue_and_epilogue_insns): Avoid
......
......@@ -6153,8 +6153,8 @@ ia64_internal_sched_reorder (dump, sched_verbose, ready, pn_ready,
if (GET_CODE (PATTERN (insn)) == ASM_INPUT
|| asm_noperands (PATTERN (insn)) >= 0)
{
rtx lowest = ready[0];
ready[0] = insn;
rtx lowest = ready[n_asms];
ready[n_asms] = insn;
*insnp = lowest;
n_asms++;
}
......
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