Commit 3ee909cb by Bob Wilson Committed by Bob Wilson

xtensa.c (xtensa_secondary_reload_class): Use a secondary input reload for…

xtensa.c (xtensa_secondary_reload_class): Use a secondary input reload for subword loads from the constant pool.

        * config/xtensa/xtensa.c (xtensa_secondary_reload_class): Use a
        secondary input reload for subword loads from the constant pool.

From-SVN: r133889
parent 383e91e4
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
......
......@@ -2839,7 +2839,8 @@ xtensa_secondary_reload_class (enum reg_class class,
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;
}
......
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