This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/82981] [7/8 Regression] unnecessary __multi3 call for mips64r6 linux kernel


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, it might be better to verify if the can_widen_mult_without_libcall
fails that hmode exists and is exactly half the size of prec, otherwise we
could end up with the worst case fallback that can't do overflow.

And/or, the PR71289 change could be guarded by precision equal to TYPE_MODE
precision and umulv4_optab present for that mode, otherwise MUL_OVERFLOW might
be more expensive than the division.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]