From 20a74ce46548ad2bca8f7c2203157792c0f123ab Mon Sep 17 00:00:00 2001
From: nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 11 Mar 2006 09:16:55 +0000
Subject: [PATCH] Remove accidental commit to this file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111961 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/config/m32r/m32r.c | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/gcc/config/m32r/m32r.c b/gcc/config/m32r/m32r.c
index 1134569f86aa..e7e1a2d30247 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);
@@ -825,17 +813,6 @@ gen_compare (enum rtx_code code, rtx x, rtx y, int need_compare)
 	return gen_rtx_fmt_ee (code, CCmode, x, y);
       
       /* 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)))
@@ -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
-- 
GitLab