Commit a1f626ad by Bob Wilson Committed by Bob Wilson

xtensa.c (xtensa_secondary_reload_class): Revert change from 2008-04-03.

	* config/xtensa/xtensa.c (xtensa_secondary_reload_class): Revert
	change from 2008-04-03.
	* config/xtensa/xtensa.h (IRA_COVER_CLASSES): Define.

From-SVN: r139771
parent d7f2c74e
2008-08-29 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_secondary_reload_class): Revert
change from 2008-04-03.
* config/xtensa/xtensa.h (IRA_COVER_CLASSES): Define.
2008-08-29 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-opt/37251
......
......@@ -2852,8 +2852,7 @@ xtensa_secondary_reload_class (enum reg_class rclass,
if (!isoutput)
{
if ((rclass == FP_REGS || GET_MODE_SIZE (mode) < UNITS_PER_WORD)
&& constantpool_mem_p (x))
if (rclass == FP_REGS && constantpool_mem_p (x))
return RL_REGS;
}
......
......@@ -479,6 +479,11 @@ enum reg_class
{ 0xffffffff, 0x0000000f } /* all registers */ \
}
#define IRA_COVER_CLASSES \
{ \
BR_REGS, FP_REGS, ACC_REG, AR_REGS, LIM_REG_CLASSES \
}
/* A C expression whose value is a register class containing hard
register REGNO. In general there is more that one such class;
choose a class which is "minimal", meaning that no smaller class
......
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