aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2005-02-23 00:12:45 +0000
committerFariborz Jahanian <fjahanian@apple.com>2005-02-23 00:12:45 +0000
commit6d5c59fb8ab13e25f334a7dcc1f05770e2fe5c2f (patch)
treea7f92c7ccf3173b8d140a7a5ba66d00fe1e1137e
parent8f0030162921c8ea32a6fb3fe13dea651f4bd0ae (diff)
Backed out radar 3765162 (caused regression in radar 4018395).
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/apple-ppc-branch@95423 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/config/rs6000/rs6000.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index d27981142fe..1960e6e7fcf 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -4122,25 +4122,6 @@ rs6000_legitimize_reload_address (rtx *addr_x, enum machine_mode mode,
}
#endif
- /* Force ld/std non-word aligned offset into base register by wrapping
- in offset 0. */
- if (GET_CODE (x) == PLUS
- && GET_CODE (XEXP (x, 0)) == REG
- && REGNO (XEXP (x, 0)) < 32
- && REG_MODE_OK_FOR_BASE_P (XEXP (x, 0), mode)
- && GET_CODE (XEXP (x, 1)) == CONST_INT
- && (INTVAL (XEXP (x, 1)) & 3) != 0
- && GET_MODE_SIZE (mode) >= UNITS_PER_WORD
- && TARGET_POWERPC64)
- {
- x = gen_rtx_PLUS (GET_MODE (x), x, GEN_INT (0));
- push_reload (XEXP (x, 0), NULL_RTX, &XEXP (x, 0), NULL,
- BASE_REG_CLASS, GET_MODE (x), VOIDmode, 0, 0,
- opnum, (enum reload_type) type);
- *win = 1;
- return x;
- }
-
if (GET_CODE (x) == PLUS
&& GET_CODE (XEXP (x, 0)) == REG
&& REGNO (XEXP (x, 0)) < FIRST_PSEUDO_REGISTER