OSDN Git Service

* pa/pa.c (secondary_reload_class): Remove duplicate/useless code.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Oct 1996 17:27:20 +0000 (17:27 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Oct 1996 17:27:20 +0000 (17:27 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12888 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/pa/pa.c

index e864707..5944770 100644 (file)
@@ -3757,20 +3757,6 @@ secondary_reload_class (class, mode, in)
   else
     regno = -1;
 
-  /* Profiling showed the PA port spends about 1.3% of its compilation
-     time in true_regnum from calls inside secondary_reload_class.  */
-
-  if (GET_CODE (in) == REG)
-    {
-      regno = REGNO (in);
-      if (regno >= FIRST_PSEUDO_REGISTER)
-       regno = true_regnum (in);
-    }
-  else if (GET_CODE (in) == SUBREG)
-    regno = true_regnum (in);
-  else
-    regno = -1;
-
   if (((regno >= FIRST_PSEUDO_REGISTER || regno == -1)
        && GET_MODE_CLASS (mode) == MODE_INT
        && FP_REG_CLASS_P (class))