]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.c (arm_rtx_costs): Remove #if 0 block.
authorBen Elliston <bje@wasabisystems.com>
Mon, 30 Jun 2003 12:06:04 +0000 (12:06 +0000)
committerBen Elliston <bje@gcc.gnu.org>
Mon, 30 Jun 2003 12:06:04 +0000 (22:06 +1000)
* config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
(bad_signed_byte_operand): Likewise.
(arm_output_epilogue): Likewise.
(arm_final_prescan_insn): Likewise.

From-SVN: r68698

gcc/ChangeLog
gcc/config/arm/arm.c

index b557a3640dcba35a2a28c1dfd6e38a8458ef417c..1f2777f911f10468791cf9d7ff71be17b7ee7d4c 100644 (file)
@@ -1,3 +1,10 @@
+2003-06-30  Ben Elliston  <bje@wasabisystems.com>
+
+       * config/arm/arm.c (arm_rtx_costs): Remove #if 0 block.
+       (bad_signed_byte_operand): Likewise.
+       (arm_output_epilogue): Likewise.
+       (arm_final_prescan_insn): Likewise.
+
 2003-06-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * cfgrtl.c (mark_killed_regs): Cast HARD_REGNO_NREGS to int.
index c02e7be901ac78e5970a2dd855a4b97cb7d868e5..e80fe4e0ee2499640c5d9c35e4a6b2a203edd932 100644 (file)
@@ -3168,16 +3168,6 @@ arm_rtx_costs_1 (rtx x, enum rtx_code code, enum rtx_code outer)
          
        default:
          return 99;
-#if 0    
-       case FFS:
-       case FLOAT:
-       case FIX:
-       case UNSIGNED_FIX:
-         /* XXX guess */
-         fprintf (stderr, "unexpected code for thumb in rtx_costs: %s\n",
-                  rtx_name[code]);
-         abort ();
-#endif
        }
     }
   
@@ -3706,10 +3696,6 @@ arm_reload_memory_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
 int
 bad_signed_byte_operand (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
 {
-#if 0
-  if ((mode == QImode && !memory_operand (op, mode)) || GET_CODE (op) != MEM)
-    return 0;
-#endif
   if (GET_CODE (op) != MEM)
     return 0;
 
@@ -8601,13 +8587,6 @@ arm_output_epilogue (int really_return)
        }
     }
 
-#if 0
-  if (ARM_FUNC_TYPE (func_type) == ARM_FT_EXCEPTION_HANDLER)
-    /* Adjust the stack to remove the exception handler stuff.  */
-    asm_fprintf (f, "\tadd\t%r, %r, %r\n", SP_REGNUM, SP_REGNUM,
-                REGNO (eh_ofs));
-#endif
-
   if (! really_return
     || (ARM_FUNC_TYPE (func_type) == ARM_FT_NORMAL
        && current_function_pretend_args_size == 0
@@ -9983,15 +9962,6 @@ arm_final_prescan_insn (rtx insn)
   if (GET_CODE (body) == PARALLEL && XVECLEN (body, 0) > 0)
     body = XVECEXP (body, 0, 0);
 
-#if 0  
-  /* If this is a conditional return then we don't want to know */
-  if (GET_CODE (body) == SET && GET_CODE (SET_DEST (body)) == PC
-      && GET_CODE (SET_SRC (body)) == IF_THEN_ELSE
-      && (GET_CODE (XEXP (SET_SRC (body), 1)) == RETURN
-          || GET_CODE (XEXP (SET_SRC (body), 2)) == RETURN))
-    return;
-#endif
-
   if (reverse
       || (GET_CODE (body) == SET && GET_CODE (SET_DEST (body)) == PC
          && GET_CODE (SET_SRC (body)) == IF_THEN_ELSE))