[Bug target/123010] RV64: 32-bit multiply by 2 generates slli+srai+slli and doesn't use slliw or addw

camel-cdr at protonmail dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 4 19:08:43 GMT 2025


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

--- Comment #4 from camel-cdr <camel-cdr at protonmail dot com> ---
I don't really see how this would be a parameter/return value thing,
considering the multiply by 3 does use addw.


More information about the Gcc-bugs mailing list