From 987a3c2b9c34e9d7b4a11b13e032754fbecb4d6f Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Tue, 22 Jun 2004 21:28:05 +0000 Subject: [PATCH] re PR target/15869 (No NOP after LW (with -mips1 -O0)) PR target/15869 * config/mips/mips.c (mips_avoid_hazards): Call split_all_insns_noflow. From-SVN: r83516 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33a58d40917..447f27cf465 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-22 Richard Sandiford + + PR target/15869 + * config/mips/mips.c (mips_avoid_hazards): Call split_all_insns_noflow. + 2004-06-22 Alexandre Oliva * config/mn10300/mn10300.md (movdi, movdf): Use high/low for movu diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 15489b19d76..df00a5426e6 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -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 ()); -- 2.30.2