Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/toolchain/gcc/config/arm Pull up the following patc...
details: https://anonhg.NetBSD.org/src/rev/d4e6b225abb6
branches: trunk
changeset: 536650:d4e6b225abb6
user: rearnsha <rearnsha%NetBSD.org@localhost>
date: Thu Sep 19 21:52:29 2002 +0000
description:
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 d7a043258a76 -r d4e6b225abb6 gnu/dist/toolchain/gcc/config/arm/arm.h
--- a/gnu/dist/toolchain/gcc/config/arm/arm.h Thu Sep 19 21:26:56 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/arm/arm.h Thu Sep 19 21:52:29 2002 +0000
@@ -983,12 +983,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