[ARC] Update fma expansions.
authorClaudiu Zissulescu <claziss@synopsys.com>
Wed, 13 Jun 2018 08:54:09 +0000 (10:54 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Wed, 13 Jun 2018 08:54:09 +0000 (10:54 +0200)
commit8c191c89cfde7c74955c21d488702077cca89117
treeac431bc7cbacdc4a4453a803a387a451f3a478c9
parent16493b5771cf3b1670a4a9bf7c7426fd74b727d0
[ARC] Update fma expansions.

Accept at most a single constant for fma patterns.

gcc/
2018-03-21  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/fpu.md (fmasf4): Force operand to register.
(fnmasf4): Likewise.

gcc/testsuite
2018-03-21  Claudiu Zissulescu  <claziss@synopsys.com>

* gcc.target/arc/fma-1.c: New test.

From-SVN: r261543
gcc/ChangeLog
gcc/config/arc/fpu.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arc/fma-1.c [new file with mode: 0644]