Commit 3437320b by Bob Wilson Committed by Bob Wilson

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
parent 173028e5
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.
......
......@@ -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))
......
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