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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Kito Cheng <k...@gcc.gnu.org>:

https://gcc.gnu.org/g:52c1f60bea3f2ec589a694c3a0bf4f1c4666fa5b

commit r14-11639-g52c1f60bea3f2ec589a694c3a0bf4f1c4666fa5b
Author: Robin Dapp <rd...@ventanamicro.com>
Date:   Tue Apr 1 21:17:54 2025 +0200

    RISC-V: Fix vec_duplicate[bimode] expander [PR119572].

    Since r15-9062-g70391e3958db79 we perform vector bitmask initialization
    via the vec_duplicate expander directly.  This triggered a latent bug in
    ours where we missed to mask out the single bit which resulted in an
    execution FAIL of pr119114.c

    The attached patch adds the 1-masking of the broadcast operand.

            PR target/119572

    gcc/ChangeLog:

            * config/riscv/autovec.md: Mask broadcast value.

    (cherry picked from commit 716d39f0a248c1003033e6a312c736180790ef70)

Reply via email to