From 4149fd3ef654ee064687919f7676ec74855bd910 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 13 Nov 1997 21:08:05 +0000 Subject: [PATCH] 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: r16466 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.h | 8 -------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ed5546f00df..1036a200ae03 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:51:32 1997 David Edelsohn * rs6000.md (lshrdi3_power): Delete '&' from first alternative and diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 6ea1d77448f4..1de2e25564d2 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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 \ -- 2.47.2