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, 24 May 2011 18:02:22 +0000 (18:02 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Tue, 24 May 2011 18:02:22 +0000 (18:02 +0000)
commit78be79d534fbcf2799c2c4e0b2c768134c9990d4
tree5d87bb0e9ded13761747ce42efda4d73a2801348
parentcaee412b75f90163b2ef164881a9737408f61a4e
re PR tree-optimization/46728 (GCC does not generate fmadd for pow (x, 0.75)+y on powerpc)

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

PR tree-optimization/46728
* tree-ssa-math-opts.c (powi_table): New.
(powi_lookup_cost): New.
(powi_cost): New.
(powi_as_mults_1): New.
(powi_as_mults): New.
(gimple_expand_builtin_powi): New.
(execute_cse_sincos): Add switch case for BUILT_IN_POWI.
(gate_cse_sincos): Remove sincos/cexp restriction.

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