Commit 12fb52cf by Michael Hayes Committed by Michael Hayes

* config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref.

From-SVN: r76598
parent fdcf1e1e
2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref.
2003-04-25 Chris Demetriou <cgd@broadcom.com> 2003-04-25 Chris Demetriou <cgd@broadcom.com>
* config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2, * config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2,
......
...@@ -1305,7 +1305,7 @@ CUMULATIVE_ARGS; ...@@ -1305,7 +1305,7 @@ CUMULATIVE_ARGS;
if (! TARGET_SMALL) \ if (! TARGET_SMALL) \
{ \ { \
int i; \ int i; \
X = gen_rtx_LO_SUM (GET_MODE (X), \ (X) = gen_rtx_LO_SUM (GET_MODE (X), \
gen_rtx_HIGH (GET_MODE (X), X), X); \ gen_rtx_HIGH (GET_MODE (X), X), X); \
i = push_reload (XEXP (X, 0), NULL_RTX, \ i = push_reload (XEXP (X, 0), NULL_RTX, \
&XEXP (X, 0), NULL, \ &XEXP (X, 0), NULL, \
...@@ -1316,6 +1316,12 @@ CUMULATIVE_ARGS; ...@@ -1316,6 +1316,12 @@ CUMULATIVE_ARGS;
rld[i].reg_rtx = gen_rtx_REG (Pmode, DP_REGNO); \ rld[i].reg_rtx = gen_rtx_REG (Pmode, DP_REGNO); \
rld[i].nocombine = 1; \ rld[i].nocombine = 1; \
} \ } \
else \
{ \
/* make_memloc in reload will substitute invalid memory \
references. We need to fix them up. */ \
(X) = gen_rtx_LO_SUM (Pmode, gen_rtx_REG (Pmode, DP_REGNO), (X)); \
} \
goto WIN; \ goto WIN; \
} \ } \
else if (MODE != HImode \ else if (MODE != HImode \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment