This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/15239] suboptimal mult-by-const expansion cost limit
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2004 00:11:44 -0000
- Subject: [Bug middle-end/15239] suboptimal mult-by-const expansion cost limit
- References: <20040430234603.15239.l_belev@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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