* config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
authorbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Mar 2002 17:16:52 +0000 (17:16 +0000)
committerbwilson <bwilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Mar 2002 17:16:52 +0000 (17:16 +0000)
        a register into the MAC16 accumulator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51388 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/xtensa/xtensa.c

index 3af3e3b..aa23936 100644 (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.
index e99d537..5abb5f8 100644 (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))