From: Jim Wilson Date: Thu, 13 Nov 1997 21:09:05 +0000 (+0000) Subject: mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and xplus1 when xplus0... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13529ea4fe7cad171f0ba8bc67e85038ac749bfc;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fdd43a522ec..cf2e595e772 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 13 12:53:44 1997 Jim Wilson + + * 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 11a2c93788a..59b2474ef83 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 \