Commit 06b322fa by Kaz Kojima

re PR target/37270 (SH: spill failure for R0_REGS)

	PR target/37270
	* config/sh/sh.h (LEGITIMIZE_RELOAD_ADDRESS): Generate
	the reload address with the index register for SFmode
	access with a displacement.

From-SVN: r139809
parent 588a58df
2008-08-30 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/37270
* config/sh/sh.h (LEGITIMIZE_RELOAD_ADDRESS): Generate
the reload address with the index register for SFmode
access with a displacement.
2008-08-30 Jan Hubicka <jh@suse.cz>
* optabs.c (expand_abs_nojump): Update BRANCH_COST call.
......
......@@ -2613,8 +2613,8 @@ struct sh_args {
if (TARGET_SH2E && MODE == SFmode) \
{ \
X = copy_rtx (X); \
push_reload (index_rtx, NULL_RTX, &XEXP (X, 1), NULL, \
R0_REGS, Pmode, VOIDmode, 0, 0, (OPNUM), \
push_reload (X, NULL_RTX, &X, NULL, \
BASE_REG_CLASS, Pmode, VOIDmode, 0, 0, (OPNUM), \
(TYPE)); \
goto WIN; \
} \
......
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