re PR target/15869 (No NOP after LW (with -mips1 -O0))
authorRichard Sandiford <rsandifo@redhat.com>
Tue, 22 Jun 2004 21:28:05 +0000 (21:28 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 22 Jun 2004 21:28:05 +0000 (21:28 +0000)
PR target/15869
* config/mips/mips.c (mips_avoid_hazards): Call split_all_insns_noflow.

From-SVN: r83516

gcc/ChangeLog
gcc/config/mips/mips.c

index 33a58d409173f3c404c40c54b23189c1b2ff808e..447f27cf465c8b26edc7392f5c4ce3fd06409f86 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-22  Richard Sandiford  <rsandifo@redhat.com>
+
+       PR target/15869
+       * config/mips/mips.c (mips_avoid_hazards): Call split_all_insns_noflow.
+
 2004-06-22  Alexandre Oliva  <aoliva@redhat.com>
 
        * config/mn10300/mn10300.md (movdi, movdf): Use high/low for movu
index 15489b19d767fee46e800131cc46bed551fc21cd..df00a5426e67773b4a8e704916d1383d6dbbf1a9 100644 (file)
@@ -8907,6 +8907,9 @@ mips_avoid_hazards (void)
   rtx insn, last_insn, lo_reg, delayed_reg;
   int hilo_delay, i;
 
+  /* Force all instructions to be split into their final form.  */
+  split_all_insns_noflow ();
+
   /* Recalculate instruction lengths without taking nops into account.  */
   cfun->machine->ignore_hazard_length_p = true;
   shorten_branches (get_insns ());