re PR tree-optimization/46728 (GCC does not generate fmadd for pow (x, 0.75)+y on...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 7 Jun 2011 15:12:04 +0000 (15:12 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Tue, 7 Jun 2011 15:12:04 +0000 (15:12 +0000)
commit06bc3ec79056f8c53d4e59f45afe78a547c23546
tree44dc6b8481b3a6a81e091f03fc34efc38e60abff
parent3c395ecf7d41384016acbcc18d4847c72685013c
re PR tree-optimization/46728 (GCC does not generate fmadd for pow (x, 0.75)+y on powerpc)

2011-06-07  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/46728
* tree-ssa-math-opts.c (gimple_expand_builtin_pow): Change FIXME
to use gimple_val_nonnegative_real_p.
* gimple-fold.c (gimple_val_nonnegative_real_p): New function.
* gimple.h (gimple_val_nonnegative_real_p): New declaration.

From-SVN: r174752
gcc/ChangeLog
gcc/gimple-fold.c
gcc/gimple.h
gcc/tree-ssa-math-opts.c