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

From-SVN: r45138
This commit is contained in:
Bernd Schmidt 2001-08-23 19:27:54 +00:00 committed by Bernd Schmidt
parent 3e7c78058f
commit 3b63eac49f
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,9 @@
* config/ia64/ia64.c (rws_update): If !pred, set write_count * config/ia64/ia64.c (rws_update): If !pred, set write_count
instead of incrementing it. 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> Thu Aug 23 17:21:43 CEST 2001 Jan Hubicka <jh@suse.cz>
* function.c (thread_prologue_and_epilogue_insns): Avoid * function.c (thread_prologue_and_epilogue_insns): Avoid

View File

@ -6153,8 +6153,8 @@ ia64_internal_sched_reorder (dump, sched_verbose, ready, pn_ready,
if (GET_CODE (PATTERN (insn)) == ASM_INPUT if (GET_CODE (PATTERN (insn)) == ASM_INPUT
|| asm_noperands (PATTERN (insn)) >= 0) || asm_noperands (PATTERN (insn)) >= 0)
{ {
rtx lowest = ready[0]; rtx lowest = ready[n_asms];
ready[0] = insn; ready[n_asms] = insn;
*insnp = lowest; *insnp = lowest;
n_asms++; n_asms++;
} }