[Bug target/17103] Opportunity to replace multiply with shift/add sequence

dje at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 12 20:37:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list