[Bug middle-end/82853] Optimize x % 3 == 0 without modulo

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 13 08:57:00 GMT 2018


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #31 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk.  We might still try to improve some == non-zero cases with
conditional code, and certainly should repeat this in the vectorizer's pattern
recognizer.


More information about the Gcc-bugs mailing list