mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-05 01:34:12 +08:00
arm.c (arm_rtx_costs): Remove #if 0 block.
* 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
This commit is contained in:
parent
73383a8105
commit
4e938719ec
@ -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.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user