* config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref.
From-SVN: r76598
This commit is contained in:
parent
fdcf1e1ed5
commit
12fb52cf27
|
@ -1,3 +1,7 @@
|
|||
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>
|
||||
|
||||
* config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2,
|
||||
|
|
|
@ -1305,7 +1305,7 @@ CUMULATIVE_ARGS;
|
|||
if (! TARGET_SMALL) \
|
||||
{ \
|
||||
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); \
|
||||
i = push_reload (XEXP (X, 0), NULL_RTX, \
|
||||
&XEXP (X, 0), NULL, \
|
||||
|
@ -1316,6 +1316,12 @@ CUMULATIVE_ARGS;
|
|||
rld[i].reg_rtx = gen_rtx_REG (Pmode, DP_REGNO); \
|
||||
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; \
|
||||
} \
|
||||
else if (MODE != HImode \
|
||||
|
|
Loading…
Reference in New Issue