]> gcc.gnu.org Git - gcc.git/commitdiff
reorg.c (fill_simple_delay_slots): Try filling any insn needing delay slots with...
authorJeff Law <law@gcc.gnu.org>
Mon, 19 Jul 1993 17:16:53 +0000 (11:16 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 19 Jul 1993 17:16:53 +0000 (11:16 -0600)
* reorg.c (fill_simple_delay_slots): Try filling any insn needing
delay slots with a JUMP_INSN.

From-SVN: r4940

gcc/reorg.c

index 5b89943a24b0064156fcff697d27f614e0e87580..37307d9f172bdbca7734ce8747105f04c6e3bc21 100644 (file)
@@ -2635,13 +2635,16 @@ fill_simple_delay_slots (first, non_jumps_p)
         the unconditional jump.  This is done first to avoid having the
         delay slot of the call filled in the backward scan.  Also, since
         the unconditional jump is likely to also have a delay slot, that
-        insn must exist when it is subsequently scanned.  */
+        insn must exist when it is subsequently scanned.
+
+        This is tried on each insn with delay slots as some machines
+        have insns which perform calls, but are not represented as 
+        CALL_INSNs.  */
 
       slots_filled = 0;
       delay_list = 0;
 
-      if (GET_CODE (insn) == CALL_INSN
-         && (trial = next_active_insn (insn))
+      if ((trial = next_active_insn (insn))
          && GET_CODE (trial) == JUMP_INSN
          && simplejump_p (trial)
          && eligible_for_delay (insn, slots_filled, trial, flags)
This page took 0.0721079999999999 seconds and 5 git commands to generate.