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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Richard Earnshaw
<rearn...@gcc.gnu.org>:

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

commit r13-8359-gf78d1b9c26c2def0e9c54610e73e21f91b5eb05b
Author: Richard Earnshaw <rearn...@arm.com>
Date:   Thu Feb 22 16:47:20 2024 +0000

    arm: fix ICE with vectorized reciprocal division [PR108120]

    The expand pattern for reciprocal division was enabled for all math
    optimization modes, but the patterns it was generating were not
    enabled unless -funsafe-math-optimizations were enabled, this leads to
    an ICE when the pattern we generate cannot be recognized.

    Fixed by only enabling vector division when doing unsafe math.

    gcc:

            PR target/108120
            * config/arm/neon.md (div<VCVTF:mode>3): Rename from div<mode>3.
            Gate with ARM_HAVE_NEON_<MODE>_ARITH.

    gcc/testsuite:
            PR target/108120
            * gcc.target/arm/neon-recip-div-1.c: New file.

    (cherry picked from commit 016c4eed368b80a97101f6156ed99e4c5474fbb7)

Reply via email to