[Bug tree-optimization/46728] GCC does not generate fmadd for pow (x, 0.75)+y on powerpc

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 27 19:20:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46728

--- Comment #8 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2011-05-27 19:11:22 UTC ---
Author: wschmidt
Date: Fri May 27 19:11:19 2011
New Revision: 174349

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174349
Log:
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.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-math-opts.c



More information about the Gcc-bugs mailing list