diff options
author | Jeff Law <law@gcc.gnu.org> | 1993-01-22 10:19:18 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1993-01-22 10:19:18 -0700 |
commit | 2ccc7d7f45c3075900c7bf788ac8a86226faaff2 (patch) | |
tree | d86759c1f6fe659aac0d2c24e0c64fa318d4b051 | |
parent | 8207ec0452e66332341eec265faf4780ee439f4f (diff) | |
download | gcc-2ccc7d7f45c3075900c7bf788ac8a86226faaff2.zip gcc-2ccc7d7f45c3075900c7bf788ac8a86226faaff2.tar.gz gcc-2ccc7d7f45c3075900c7bf788ac8a86226faaff2.tar.bz2 |
* pa.c (secondary_reload_class): Simplify.
From-SVN: r3301
-rw-r--r-- | gcc/config/pa/pa.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 98848f3..0d89774 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -2521,10 +2521,8 @@ secondary_reload_class (class, mode, in) if ((TARGET_SHARED_LIBS && function_label_operand (in, mode)) || ((regno >= FIRST_PSEUDO_REGISTER || regno == -1) - && ((mode == QImode || mode == HImode || mode == SImode - || mode == DImode) - && (class == FP_REGS || class == SNAKE_FP_REGS - || class == HI_SNAKE_FP_REGS))) + && GET_MODE_CLASS (mode) == MODE_INT + && FP_REG_CLASS_P (class)) || (class == SHIFT_REGS && (regno <= 0 || regno >= 32))) return GENERAL_REGS; |