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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Stefan Schulze Frielinghaus
<[email protected]>:

https://gcc.gnu.org/g:0b99615a8aef011cff76c6caa8c09434f46598b3

commit r15-10805-g0b99615a8aef011cff76c6caa8c09434f46598b3
Author: Stefan Schulze Frielinghaus <[email protected]>
Date:   Wed Jan 21 16:00:59 2026 +0100

    s390: Don't emulate vec_cmpgtuv1tiv1ti for VXE3 [PR122781]

    Starting with VXE3, 128-bit integer compares are natively supported.
    For older machines those compares are emulated via
    *vec_cmpeq<mode><mode>_nocc_emu and *vec_cmpgt<mode><mode>_nocc_emu and
    *vec_cmpgtu<mode><mode>_nocc_emu.  The latter was missing !TARGET_VXE3
    in the condition which resulted in emulating unsigned greater-than
    compares instead of making use of the new instructions enabled by
    r15-7051.

            PR target/122781

    gcc/ChangeLog:

            * config/s390/vector.md: Don't emulate vec_cmpgtu for 128-bit
            integers for VXE3.

    gcc/testsuite/ChangeLog:

            * gcc.target/s390/vxe3/vcmp-1.c: New test.

    (cherry picked from commit 2a20b792133c8f3b3c5fcf2d9f647b1634362637)

Reply via email to