>
> 2026-06-23 Roger Sayle <[email protected]>
>
> gcc/ChangeLog
> PR target/94871
> * config/i386/sse.md (*<sse>_imaskcmp<mode>3_comm): Clone
> of *<sse>_maskcmp<mode>3_comm pattern with integer vector
> result.
The x86 part LGTM.
>
> * simplify-rtx.cc (comparison_all_ones_result_p): New
> helper function to check that the true result from a
> comparison with result mode MODE is a mask of all ones.
> (simplify_unary_operation_1): Use it when reversing
> comparisons, i.e. (not (eq X Y)) -> (ne X Y).
>
> gcc/testsuite/ChangeLog
> PR target/94871
> * gcc.target/i386/pr94871.c: New test case.
>
>
> Thanks in advance (to you both),
> Roger
> --