reorg.c (fill_simple_delay_slots): Do not abort if we encounter an insn on the unfilled_slots_list that has no...
* reorg.c (fill_simple_delay_slots): Do not abort if we encounter an insn on the unfilled_slots_list that has no delay slots. (fill_eager_delay_slots): Similarly. From-SVN: r21977
This commit is contained in:
parent
38f76c25a9
commit
c3a3b53647
2 changed files with 31 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Aug 25 19:48:46 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* reorg.c (fill_simple_delay_slots): Do not abort if we encounter
|
||||
an insn on the unfilled_slots_list that has no delay slots.
|
||||
(fill_eager_delay_slots): Similarly.
|
||||
|
||||
Tue Aug 25 13:35:20 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* config/v850/v850.c (movsi_source_operand): Treat CONSTANT_P_RTX
|
||||
|
|
27
gcc/reorg.c
27
gcc/reorg.c
|
@ -3022,8 +3022,20 @@ fill_simple_delay_slots (non_jumps_p)
|
|||
else
|
||||
flags = get_jump_flags (insn, NULL_RTX);
|
||||
slots_to_fill = num_delay_slots (insn);
|
||||
|
||||
/* Some machine description have defined instructions to have
|
||||
delay slots only in certain circumstances which may depend on
|
||||
nearby insns (which change due to reorg's actions).
|
||||
|
||||
For example, the PA port normally has delay slots for unconditional
|
||||
jumps.
|
||||
|
||||
However, the PA port claims such jumps do not have a delay slot
|
||||
if they are immediate successors of certain CALL_INSNs. This
|
||||
allows the port to favor filling the delay slot of the call with
|
||||
the unconditional jump. */
|
||||
if (slots_to_fill == 0)
|
||||
abort ();
|
||||
continue;
|
||||
|
||||
/* This insn needs, or can use, some delay slots. SLOTS_TO_FILL
|
||||
says how many. After initialization, first try optimizing
|
||||
|
@ -3896,8 +3908,19 @@ fill_eager_delay_slots ()
|
|||
continue;
|
||||
|
||||
slots_to_fill = num_delay_slots (insn);
|
||||
/* Some machine description have defined instructions to have
|
||||
delay slots only in certain circumstances which may depend on
|
||||
nearby insns (which change due to reorg's actions).
|
||||
|
||||
For example, the PA port normally has delay slots for unconditional
|
||||
jumps.
|
||||
|
||||
However, the PA port claims such jumps do not have a delay slot
|
||||
if they are immediate successors of certain CALL_INSNs. This
|
||||
allows the port to favor filling the delay slot of the call with
|
||||
the unconditional jump. */
|
||||
if (slots_to_fill == 0)
|
||||
abort ();
|
||||
continue;
|
||||
|
||||
slots_filled = 0;
|
||||
target_label = JUMP_LABEL (insn);
|
||||
|
|
Loading…
Add table
Reference in a new issue