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
This commit is contained in:
parent
d7f2c74e0c
commit
a1f626ad3b
3 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue