re PR tree-optimization/46728 (GCC does not generate fmadd for pow (x, 0.75)+y on...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 30 May 2011 17:12:53 +0000 (17:12 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Mon, 30 May 2011 17:12:53 +0000 (17:12 +0000)
commit6e96f98aec1f14a0df1600fb4b6499dc947ce52d
tree640ed15a245481b6433f330128b305c4192765c7
parent4f60111fd430b3ccaf89acd7a869ad2e6c6b7bf6
re PR tree-optimization/46728 (GCC does not generate fmadd for pow (x, 0.75)+y on powerpc)

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

PR tree-optimization/46728
* tree-ssa-math-opts.c (build_and_insert_call): Reorder parms.
(build_and_insert_binop): New.
(gimple_expand_builtin_pow): Reorder args for
build_and_insert_call; use build_and_insert_binop; add more
optimizations for fractional exponents.

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