This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/17103] Opportunity to replace multiply with shift/add sequence
- From: "dje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2004 20:37:57 -0000
- Subject: [Bug target/17103] Opportunity to replace multiply with shift/add sequence
- References: <20040819145911.17103.steinmtz@us.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dje at gcc dot gnu dot org 2004-09-12 20:37 -------
On POWER4, the default processor, the latency of mulli relative to shifts and
adds makes mulli a better choice than synthesizing the multiply by constant.
When tuning for other PowerPC processors, such as POWER3, the synthesized
sequence is generated.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17103