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

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

https://gcc.gnu.org/g:079e570ff8899fefdc3ef3d1a81eaaa6997f5e8e

commit r16-5196-g079e570ff8899fefdc3ef3d1a81eaaa6997f5e8e
Author: Christophe Lyon <[email protected]>
Date:   Mon Nov 10 09:02:04 2025 +0000

    arm: mve: avoid invalid immediate values in vbicq_n, vorrq_n, vmvnq_n
[PR122175]

    A constant value with the top bit of a 16-bit const passed to vbicq_n_u16
will
    generate invalid assembly.  Avoid this by masking the constant during
assembly
    generation.

    The same applies to vorrq_n and vmvnq_n.

    gcc/ChangeLog:

            PR target/122175
            * config/arm/iterators.md (asm_const_size): New mode attr.
            * config/arm/mve.md (@mve_<mve_insn>q_n_<supf><mode>): Use it.

    gcc/testsuite/ChangeLog:

            PR target/122175
            * gcc.target/arm/mve/intrinsics/pr122175.c: New test.

    Co-authored-by: Richard Earnshaw <[email protected]>

Reply via email to