secondary input reload for subword loads from the constant pool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133889
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-04-03 Bob Wilson <bob.wilson@acm.org>
+
+ * config/xtensa/xtensa.c (xtensa_secondary_reload_class): Use a
+ secondary input reload for subword loads from the constant pool.
+
2008-04-03 Janis Johnson <janis187@us.ibm.com>
PR target/35713
if (!isoutput)
{
- if (class == FP_REGS && constantpool_mem_p (x))
+ if ((class == FP_REGS || GET_MODE_SIZE (mode) < UNITS_PER_WORD)
+ && constantpool_mem_p (x))
return RL_REGS;
}