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

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

https://gcc.gnu.org/g:412667e50077e4678e6d164bca91b6408749471f

commit r16-6982-g412667e50077e4678e6d164bca91b6408749471f
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.

Reply via email to