[Bug target/18589] could optimize FP multiplies better

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 21 14:24:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-21 14:24 -------
Confirmed.
Actually the most optimial code would be:
        mulsd   %xmm1, %xmm0
        mulsd   %xmm0, %xmm0
        mulsd   %xmm0, %xmm0
aka
(foo*bar)^4

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |missed-optimization
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-21 14:24:08
               date|                            |


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



More information about the Gcc-bugs mailing list