From a998424becbe45e1e14de63e4483352534f11818 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 2 Oct 1996 11:27:20 -0600 Subject: [PATCH] * pa/pa.c (secondary_reload_class): Remove duplicate/useless code. From-SVN: r12888 --- gcc/config/pa/pa.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index e8647079612..59447709b93 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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)) -- 2.30.2