[Bug target/113609] EQ/NE comparison between avx512 kmask and -1 can be optimized with kxortest with checking CF.

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 2 23:13:10 GMT 2026


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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iains at gcc dot gnu.org

--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Drea Pinski from comment #5)
> (In reply to Uroš Bizjak from comment #2)
> > You will have to provide jcc and setcc patterns to fully handle mode change.
> 
> cmov was also missed here, filed PR 117232. I found it via some phiopt
> improvement I am working on and noticed pr113609-1.c testcase was failing.

since r17-3822-g44c89620f73906 (phiopot change) this is failing on m32 hosts
and 64b hosts with 32b multilibs - linux and darwin - probably the 32b case
counts need to be updated?


More information about the Gcc-bugs mailing list