[Bug target/86131] powerpc: gcc uses costly multiply instead of shift left

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 10 18:32:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86131

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
A multiply is cost 2 for mpccore.  Expand creates a single "mulli ..,-8"
for this.  And no other RTL pass will break this apart again.


More information about the Gcc-bugs mailing list