[Bug middle-end/122412] Extra multiply with -Os due to `(unsigned>>6) * -64` not being simplified to `-(unsigned&0x3f)`
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 24 16:29:04 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122412
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to rockeet from comment #3)
> gcc also did not handled __builtin_expect in this example, while clang
> gracefully handled.
Not really, it copied the loop header which might produce bigger code.
More information about the Gcc-bugs
mailing list