aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1997-11-13 21:09:05 +0000
committerJeff Law <law@gcc.gnu.org>1997-11-13 14:09:05 -0700
commit13529ea4fe7cad171f0ba8bc67e85038ac749bfc (patch)
tree519d676f06afe01e834c700cb50612c7d69ec043
parent9babbf20ae7c7c9cb574cfb803eaf0437a505930 (diff)
downloadgcc-13529ea4fe7cad171f0ba8bc67e85038ac749bfc.zip
gcc-13529ea4fe7cad171f0ba8bc67e85038ac749bfc.tar.gz
gcc-13529ea4fe7cad171f0ba8bc67e85038ac749bfc.tar.bz2
mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and xplus1 when xplus0 is not a register.
* mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and xplus1 when xplus0 is not a register. From-SVN: r16467
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/mips.h8
2 files changed, 5 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fdd43a5..cf2e595 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
+
+ * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
+ xplus1 when xplus0 is not a register.
+
Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
* m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 11a2c93..59b2474 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -2526,14 +2526,6 @@ typedef struct mips_args {
register enum rtx_code code0 = GET_CODE (xplus0); \
register enum rtx_code code1 = GET_CODE (xplus1); \
\
- if (code0 != REG && code1 == REG) \
- { \
- xplus0 = XEXP (xinsn, 1); \
- xplus1 = XEXP (xinsn, 0); \
- code0 = GET_CODE (xplus0); \
- code1 = GET_CODE (xplus1); \
- } \
- \
if (code0 == REG && REG_OK_FOR_BASE_P (xplus0)) \
{ \
if (code1 == CONST_INT \