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

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

https://gcc.gnu.org/g:be1c07209156d1e0e1b7b977d291d8b68a250fa7

commit r15-10719-gbe1c07209156d1e0e1b7b977d291d8b68a250fa7
Author: Richard Earnshaw <[email protected]>
Date:   Thu Jan 22 14:16:28 2026 +0000

    arm: fix unrecognized HFmode min/max insns on neon [PR123742]

    When expansion support for smin/smax was enabled (presumably for MVE)
    the corresponding Neon instructions were not updated to recognize the
    generated RTL.  This patch makes the necessary changes to recognize
    these variants.

    gcc/ChangeLog:

            PR target/123742
            * config/arm/neon.md (*smin<mode>3_neon): Renamed to ...
            (*smin<VDQWH:mode>3_neon): ... this.  Add HFmode support.
            (*smax<mode>3_neon): Renamed to ...
            (*smax<VDQWH:mode>3_neon): ... this.  Add HFmode support.

    gcc/testsuite/ChangeLog:

            PR target/123742
            * gcc.target/arm/neon-smax16.c: New test.
            * gcc.target/arm/neon-smin16.c: New test.

    (cherry picked from commit 412667e50077e4678e6d164bca91b6408749471f)

Reply via email to