xtensa.c (xtensa_valid_move): Allow move from a register into the MAC16 accumulator.

* config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
        a register into the MAC16 accumulator.

From-SVN: r51388
This commit is contained in:
Bob Wilson 2002-03-26 17:16:52 +00:00 committed by Bob Wilson
parent 173028e5ab
commit 3437320b81
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-03-26 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
a register into the MAC16 accumulator.
2002-03-26 Andrew Cagney <ac131313@redhat.com>
* doc/invoke.texi (Option Summary): Mention -Wswitch-enum.

View File

@ -460,7 +460,7 @@ xtensa_valid_move (mode, operands)
if (!ACC_REG_P (dst_regnum))
return true;
}
else if (register_operand (operands[1], mode))
if (register_operand (operands[1], mode))
{
int src_regnum = xt_true_regnum (operands[1]);
if (!ACC_REG_P (src_regnum))