]> gcc.gnu.org Git - gcc.git/commitdiff
sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case where we need to reload fpul from...
authorAndrew Haley <aph@cygnus.com>
Wed, 24 Nov 1999 18:57:08 +0000 (18:57 +0000)
committerAndrew Haley <aph@gcc.gnu.org>
Wed, 24 Nov 1999 18:57:08 +0000 (18:57 +0000)
Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>

* config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
where we need to reload fpul from a system register.

From-SVN: r30654

gcc/ChangeLog
gcc/config/sh/sh.h

index 539ed2ff807a6ddd2fbd91194ddefa3da73bf1b9..93f50bdcb2279ad5047cc909a8550d0b8844f501 100644 (file)
@@ -1,3 +1,8 @@
+Wed Nov 24 18:39:18 1999  Andrew Haley  <aph@cygnus.com>
+
+       * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
+       where we need to reload fpul from a system register.
+
 1999-11-24  Andreas Jaeger  <aj@suse.de>
 
        * config/mips/linux.h (CPP_PREDEFINES): Added.
index d65d2824e7429ba9beec96f5770784be63756bea..789a1f4db0e57c9663fb0e33c3d11da1815a0362 100644 (file)
@@ -779,7 +779,9 @@ extern enum reg_class reg_class_from_letter[];
    ? FPUL_REGS                                                         \
    : ((CLASS) == FPUL_REGS                                             \
       && (GET_CODE (X) == MEM                                          \
-         || (GET_CODE (X) == REG && REGNO (X) >= FIRST_PSEUDO_REGISTER)))\
+         || (GET_CODE (X) == REG                                       \
+             && (REGNO (X) >= FIRST_PSEUDO_REGISTER                    \
+                 || system_reg_operand (X, VOIDmode)))))               \
    ? GENERAL_REGS                                                      \
    : (((CLASS) == MAC_REGS || (CLASS) == PR_REGS)                      \
       && GET_CODE (X) == REG && REGNO (X) > 15                         \
This page took 0.075358 seconds and 5 git commands to generate.