re PR tree-optimization/46728 (GCC does not generate fmadd for pow (x, 0.75)+y on...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 27 May 2011 19:11:19 +0000 (19:11 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Fri, 27 May 2011 19:11:19 +0000 (19:11 +0000)
commitba869341b42aefb6c58d513c0cabeaed22091bf2
tree55dafe7cac0581d42b0e70b4b8848b51d77f7d6a
parent2514987fa9a984b5f68ea5897d556deca3625139
re PR tree-optimization/46728 (GCC does not generate fmadd for pow (x, 0.75)+y on powerpc)

2011-05-27  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/46728
* tree-ssa-math-opts.c (powi_as_mults_1): Add gimple_set_location.
(powi_as_mults): Add gimple_set_location.
(build_and_insert_call): New.
(gimple_expand_builtin_pow): Add handling for pow(x,y) when y is
0.5, 0.25, 0.75, 1./3., or 1./6.

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