aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m32r/m32r.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@gcc.gnu.org>2006-03-11 09:16:55 +0000
committerNick Clifton <nickc@gcc.gnu.org>2006-03-11 09:16:55 +0000
commit59e47e7163bc4b1d717e81fb2831f51903900d90 (patch)
treeffaa469a9f58904219f98df84b9c6f3e14af39a0 /gcc/config/m32r/m32r.c
parent1348fb1ae9d72b806d89d1400e99b1b8a6e4c8b8 (diff)
downloadgcc-59e47e7163bc4b1d717e81fb2831f51903900d90.zip
gcc-59e47e7163bc4b1d717e81fb2831f51903900d90.tar.gz
gcc-59e47e7163bc4b1d717e81fb2831f51903900d90.tar.bz2
Remove accidental commit to this file
From-SVN: r111961
Diffstat (limited to 'gcc/config/m32r/m32r.c')
-rw-r--r--gcc/config/m32r/m32r.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c
index 1134569..e7e1a2d 100644
--- a/gcc/config/m32r/m32r.c
+++ b/gcc/config/m32r/m32r.c
@@ -692,17 +692,6 @@ gen_compare (enum rtx_code code, rtx x, rtx y, int need_compare)
{
case EQ:
if (GET_CODE (y) == CONST_INT
- && UINT16_P (INTVAL (y)) /* Reg equal to small const. */
- && y != const0_rtx)
- {
- rtx tmp = gen_reg_rtx (SImode);
-
- emit_insn (gen_xorsi3 (tmp, x, GEN_INT (INTVAL (y))));
- x = tmp;
- y = const0_rtx;
- }
-#if 0 /* Removed for miss optimizing at simplify_relational_operation(). */
- else if (GET_CODE (y) == CONST_INT
&& CMP_INT16_P (INTVAL (y)) /* Reg equal to small const. */
&& y != const0_rtx)
{
@@ -712,7 +701,6 @@ gen_compare (enum rtx_code code, rtx x, rtx y, int need_compare)
x = tmp;
y = const0_rtx;
}
-#endif
else if (CONSTANT_P (y)) /* Reg equal to const. */
{
rtx tmp = force_reg (GET_MODE (x), y);
@@ -827,17 +815,6 @@ gen_compare (enum rtx_code code, rtx x, rtx y, int need_compare)
/* Reg/smallconst equal comparison. */
if (compare_code == EQ
&& GET_CODE (y) == CONST_INT
- && UINT16_P (INTVAL (y)))
- {
- rtx tmp = gen_reg_rtx (SImode);
-
- emit_insn (gen_xorsi3 (tmp, x, GEN_INT (INTVAL (y))));
- return gen_rtx_fmt_ee (code, CCmode, tmp, const0_rtx);
- }
-
-#if 0 /* Removed for miss optimizing at simplify_relational_operation(). */
- if (compare_code == EQ
- && GET_CODE (y) == CONST_INT
&& CMP_INT16_P (INTVAL (y)))
{
rtx tmp = gen_reg_rtx (SImode);
@@ -845,7 +822,6 @@ gen_compare (enum rtx_code code, rtx x, rtx y, int need_compare)
emit_insn (gen_addsi3 (tmp, x, GEN_INT (-INTVAL (y))));
return gen_rtx_fmt_ee (code, CCmode, tmp, const0_rtx);
}
-#endif
/* Reg/const equal comparison. */
if (compare_code == EQ