This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18589] could optimize FP multiplies better
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Jan 2012 23:06:56 +0000
- Subject: [Bug tree-optimization/18589] could optimize FP multiplies better
- Auto-submitted: auto-generated
- References: <bug-18589-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18589
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-12-21 03:49:53 |2012-01-04
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-05 23:06:56 UTC ---
The tree level on the trunk we get:
powmult.2_10 = foo_1(D) * foo_1(D);
D.1709_4 = bar_3(D) * bar_3(D);
D.1710_5 = D.1709_4 * bar_3(D);
D.1711_6 = D.1710_5 * bar_3(D);
powmult.2_9 = D.1711_6 * powmult.2_10;
D.1707_7 = powmult.2_9 * powmult.2_10;
--- CUT ---
which is just as bad.