mips.c (mips_expand_builtin_insn): Swap the 1st and 3rd operands of the fmadd/fmsub...
authorJeff Law <law@gcc.gnu.org>
Fri, 31 May 2019 21:40:25 +0000 (15:40 -0600)
committerJeff Law <law@gcc.gnu.org>
Fri, 31 May 2019 21:40:25 +0000 (15:40 -0600)
commit29c1593246765176943b642021fb0be67d25be76
tree51ca5ac9d299532157d03bd11e29a14df3d81e18
parente7393c8936b9cfb1a28f7e16043c107490491ba4
mips.c (mips_expand_builtin_insn): Swap the 1st and 3rd operands of the fmadd/fmsub/maddv builtin.

* config/mips/mips.c (mips_expand_builtin_insn): Swap the 1st
and 3rd operands of the fmadd/fmsub/maddv builtin.

* gcc.target/mips/msa-fmadd.c: New.

From-SVN: r271826
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/msa-fmadd.c [new file with mode: 0644]