]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and xplus1 when xplus0...
authorJim Wilson <wilson@cygnus.com>
Thu, 13 Nov 1997 21:08:05 +0000 (21:08 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 13 Nov 1997 21:08:05 +0000 (14:08 -0700)
* mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
xplus1 when xplus0 is not a register.

From-SVN: r16466

gcc/ChangeLog
gcc/config/mips/mips.h

index 2ed5546f00dfdfdb755bd8811aa723139bdc1571..1036a200ae035c9be9b20b69917c9c8ccbfc4462 100644 (file)
@@ -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:51:32 1997  David Edelsohn  <edelsohn@mhpcc.edu>
 
        * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
index 6ea1d77448f4a6a2380263d973ce0675c0b53630..1de2e25564d2ee0b16dff52651bbdb84b255bccb 100644 (file)
@@ -2519,14 +2519,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                                        \