[ARC] Check for odd-even register when emitting double mac ops.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 1 Oct 2018 09:37:33 +0000 (11:37 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 1 Oct 2018 09:37:33 +0000 (11:37 +0200)
commit97e1d32c5e6efdfac3a9d6c56e8127b958fff88f
tree0d753e582867d408691bf7c0f6a57dfa19270fb9
parent796a2bb27466db5a151c06707b348cb2a705c514
[ARC] Check for odd-even register when emitting double mac ops.

gcc/
Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.md (maddsidi4_split): Don't use dmac if the
destination register is not odd-even.
(umaddsidi4_split): Likewise.

gcc/testsuite/
Claudiu Zissulescu  <claziss@synopsys.com>

* gcc.target/arc/tmac-3.c: New file.

From-SVN: r264736
gcc/ChangeLog
gcc/config/arc/arc.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arc/tmac-3.c [new file with mode: 0644]