[Bug tree-optimization/57492] Optimize 2.0**i to ldexp(1.0,i)

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 1 11:48:00 GMT 2013


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

--- Comment #2 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Another thing to optimize would be to change

a*builtin_pow(2.0,i) to ldexp(a, i).

Lots of fun things to do ;-)



More information about the Gcc-bugs mailing list