Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/gnu/dist/toolchain/gcc/config/arm Pull up revision 1.9 ...



details:   https://anonhg.NetBSD.org/src/rev/cddd58569e00
branches:  netbsd-1-6
changeset: 529143:cddd58569e00
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun Oct 13 22:37:54 2002 +0000

description:
Pull up revision 1.9 (requested by rearnsha in ticket #847):
Pull up the following patch from FSF GCC (fixes aborts when compiling
large functions for ARMv4):
Fri Nov 12 13:31:54 1999  Bernd Schmidt  <bernds%cygnus.co.uk@localhost>
* config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
addresses the same way GO_IF_LEGITIMATE_INDEX does.

diffstat:

 gnu/dist/toolchain/gcc/config/arm/arm.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 52c8eac5f6e7 -r cddd58569e00 gnu/dist/toolchain/gcc/config/arm/arm.h
--- a/gnu/dist/toolchain/gcc/config/arm/arm.h   Sun Oct 13 22:29:23 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/arm/arm.h   Sun Oct 13 22:37:54 2002 +0000
@@ -965,12 +965,12 @@
                                                                        \
       if (MODE == DImode || (TARGET_SOFT_FLOAT && MODE == DFmode))     \
        low = ((val & 0xf) ^ 0x8) - 0x8;                                \
-      else if (MODE == SImode || MODE == QImode                                \
+      else if (MODE == SImode                                          \
               || (MODE == SFmode && TARGET_SOFT_FLOAT)                 \
-              || (MODE == HImode && ! arm_arch4))                      \
+              || ((MODE == HImode || MODE == QImode) && ! arm_arch4))  \
        /* Need to be careful, -4096 is not a valid offset */           \
        low = val >= 0 ? (val & 0xfff) : -((-val) & 0xfff);             \
-      else if (MODE == HImode && arm_arch4)                            \
+      else if ((MODE == HImode || MODE == QImode) && arm_arch4)                \
        /* Need to be careful, -256 is not a valid offset */            \
        low = val >= 0 ? (val & 0xff) : -((-val) & 0xff);               \
       else if (GET_MODE_CLASS (MODE) == MODE_FLOAT                     \



Home | Main Index | Thread Index | Old Index