Recognize -(a * b) + c -> fma(-a,b,c).
authorRichard Henderson <rth@redhat.com>
Thu, 11 Nov 2010 16:20:54 +0000 (08:20 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 11 Nov 2010 16:20:54 +0000 (08:20 -0800)
commita5f09e731173ce7b5fbe6731b0afde5390663147
tree06e97e21329b81448a04044180f5d2199d9fb106
parent1004f0c5c83b9cffe17adbaabf935db8ab290911
Recognize -(a * b) + c -> fma(-a,b,c).

* tree-ssa-math-opts.c (convert_mult_to_fma): Handle a NEGATE_EXPR
in between the MULT and the PLUS/MINUS.

From-SVN: r166605
gcc/ChangeLog
gcc/tree-ssa-math-opts.c