aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1996-10-02 11:27:20 -0600
committerJeff Law <law@gcc.gnu.org>1996-10-02 11:27:20 -0600
commita998424becbe45e1e14de63e4483352534f11818 (patch)
tree7b61450f22db6097059d316a65977b029d70efc6 /gcc
parent2e91542a416d13e56eb046666e00b5b6be0984be (diff)
downloadgcc-a998424becbe45e1e14de63e4483352534f11818.zip
gcc-a998424becbe45e1e14de63e4483352534f11818.tar.gz
gcc-a998424becbe45e1e14de63e4483352534f11818.tar.bz2
* pa/pa.c (secondary_reload_class): Remove duplicate/useless code.
From-SVN: r12888
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index e864707..5944770 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))