OSDN Git Service

PR target/15927
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jun 2004 10:39:50 +0000 (10:39 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jun 2004 10:39:50 +0000 (10:39 +0000)
* arm.h (THUMB_SECONDARY_OUTPUT_RELOAD_CLASS): Don't need a secondary
reload if CLASS is BASE_REGS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83548 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arm/arm.h

index 8bcc51e..534cfae 100644 (file)
@@ -1,3 +1,9 @@
+2004-06-23  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/15927
+       * arm.h (THUMB_SECONDARY_OUTPUT_RELOAD_CLASS): Don't need a secondary
+       reload if CLASS is BASE_REGS.
+
 2004-06-23  Richard Sandiford  <rsandifo@redhat.com>
 
        * gengtype-yacc.y (option): Avoid use of non-constant struct
index 21a5d60..736934b 100644 (file)
@@ -1322,7 +1322,7 @@ enum reg_class
    : NO_REGS)
 
 #define THUMB_SECONDARY_OUTPUT_RELOAD_CLASS(CLASS, MODE, X)            \
-  ((CLASS) != LO_REGS                                                  \
+  ((CLASS) != LO_REGS && (CLASS) != BASE_REGS                          \
    ? ((true_regnum (X) == -1 ? LO_REGS                                 \
        : (true_regnum (X) + HARD_REGNO_NREGS (0, MODE) > 8) ? LO_REGS  \
        : NO_REGS))                                                     \