[Bug middle-end/15239] suboptimal mult-by-const expansion cost limit

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat May 1 00:11:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-01 00:11 -------
This should be controlled by the target instead of the normal limit because on something like powerpc 
multiply by an internment is only 6x (well it depends on the processor really) slower so adding too 
many adds will just slow it down.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
          Component|c                           |middle-end
     Ever Confirmed|                            |1
           Keywords|                            |pessimizes-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-05-01 00:11:43
               date|                            |


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



More information about the Gcc-bugs mailing list