[Bug target/115922] Missed optimization: MIPS: clear bit 15
andrew at sifive dot com
gcc-bugzilla@gcc.gnu.org
Tue Jul 16 01:08:08 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115922
Andrew Waterman <andrew at sifive dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrew at sifive dot com
--- Comment #1 from Andrew Waterman <andrew at sifive dot com> ---
Unlike MIPS, RISC-V's bitwise-logical instructions sign-extend their immediate
operands. That's often beneficial, but in this case it renders the
optimization inapplicable.
More information about the Gcc-bugs
mailing list