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

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

https://gcc.gnu.org/g:195471cc076d05ac1b3e2c2ed0b8cfedb0ac97a1

commit r16-5981-g195471cc076d05ac1b3e2c2ed0b8cfedb0ac97a1
Author: Robin Dapp <[email protected]>
Date:   Mon Dec 8 10:22:51 2025 +0100

    RISC-V: Add more mode_idx attributes [PR123022].

    Similar to 116149 we use the mode size of operand MODE_IDX but that
    one could refer to a broadcast scalar.  Use operand 3 for scalar
    broadcast patterns instead.

            PR target/123022

    gcc/ChangeLog:

            * config/riscv/vector.md: Add mode_idx attribute.

    gcc/testsuite/ChangeLog:

            * gcc.target/riscv/rvv/autovec/pr123022-2.c: New test.
            * gcc.target/riscv/rvv/autovec/pr123022.c: New test.

Reply via email to