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

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

https://gcc.gnu.org/g:27f040591aeb611030c990944731f84485887f97

commit r16-6890-g27f040591aeb611030c990944731f84485887f97
Author: Lulu Cheng <[email protected]>
Date:   Sat Jan 17 15:12:46 2026 +0800

    LoongArch: Fix bug117575.

    In the template "vec_set<mode>", a call is made to
    "lasx_xvinsve0_<lasxfmt_f>_scalar", but there is an issue due to
    the different ranges of operand1 between the two templates.
    The range of operand1 in the template
    "lasx_xvinsve0_<lasxfmt_f>_scalar" is now set to be the same as
    that in "vec_set<mode>".

            PR target/117575

    gcc/ChangeLog:

            * config/loongarch/lasx.md: Modify the range of operand1.

    gcc/testsuite/ChangeLog:

            * g++.target/loongarch/pr117575.C: New test.

Reply via email to