From 6ebec6eed47e4066484b19d0bc9f44d739562d1e Mon Sep 17 00:00:00 2001 From: Gavin Romig-Koch Date: Wed, 3 Feb 1999 12:47:19 +0000 Subject: [PATCH] (div_trap_mips16): Remove nop's after branches. Properly this time. From-SVN: r25006 --- gcc/config/mips/mips.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 1e64a059514..2715f1f9c73 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -2490,15 +2490,16 @@ have_dep_anti = 1; if (! have_dep_anti) { + /* No branch delay slots on mips16. */ if (GET_CODE (operands[1]) == CONST_INT) - return \"%(bnez\\t%0,1f\\n\\tnop\\n\\tbreak\\t%2\\n1:%)\"; + return \"%(bnez\\t%0,1f\\n\\tbreak\\t%2\\n1:%)\"; else - return \"%(bne\\t%0,%1,1f\\n\\tnop\\n\\tbreak\\t%2\\n1:%)\"; + return \"%(bne\\t%0,%1,1f\\n\\tbreak\\t%2\\n1:%)\"; } return \"\"; }" [(set_attr "type" "unknown") - (set_attr "length" "4")]) + (set_attr "length" "3")]) (define_expand "divsi3" [(set (match_operand:SI 0 "register_operand" "=l") -- 2.30.2