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

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
but mov<mode>cc just has:
(match_operand 1 "comparison_operator")

Which should accept all comparisons.  Maybe I am missing something.

There is some code to do the inversion too.


But it seems like it only does for LE/GE and not LT/GT:

          /* If riscv_expand_int_scc inverts the condition, then it will
             flip the value of INVERT.  We need to know where so that
             we can adjust it for our needs.  */
          if (code == LE || code == LEU || code == GE || code == GEU)
            invert_ptr = &invert;

Maybe there is a thinko here.

Reply via email to