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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Richard Sandiford
<rsand...@gcc.gnu.org>:

https://gcc.gnu.org/g:701193a7a6d3f3f345bf336e7ebc7d6fa1e0c5ac

commit r15-10232-g701193a7a6d3f3f345bf336e7ebc7d6fa1e0c5ac
Author: Richard Sandiford <richard.sandif...@arm.com>
Date:   Thu Aug 14 17:56:51 2025 +0100

    aarch64: Use VNx16BI for svrev_b* [PR121294]

    The previous patch for PR121294 handled svtrn1/2, svuzp1/2, and svzip1/2.
    This one extends it to handle svrev intrinsics, where the same kind of
    wrong code can be generated.

    gcc/
            PR target/121294
            * config/aarch64/aarch64.md (UNSPEC_REV_PRED): New unspec.
            * config/aarch64/aarch64-sve.md (@aarch64_sve_rev<mode>_acle)
            (*aarch64_sve_rev<mode>_acle): New patterns.
            * config/aarch64/aarch64-sve-builtins-base.cc
            (svrev_impl::expand): Use the new patterns for boolean svrev.

    gcc/testsuite/
            PR target/121294
            * gcc.target/aarch64/sve/acle/general/rev_2.c: New test.

Reply via email to