https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89506
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktkachov at gcc dot gnu.org,
| |rearnsha at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I'm afraid I don't understand how the cmpsi2_cmpneg pattern can ever work
reliably. It uses CCmode, so I think that means all of Z, N, C and V flags
have to be useful, but while the Z and N flags really don't care whether adds
or subs is used, I believe C and V depend on that heavily.
So, I'd understand cmpsi2_addneg pattern with CCmode that would only have the
subs alternative, and another pattern with CC_NOOVmode that would have both.