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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by LuluCheng <chengl...@gcc.gnu.org>:

https://gcc.gnu.org/g:40366b89e9c8e727af70ecf7007cba6c51e4b7d2

commit r14-6316-g40366b89e9c8e727af70ecf7007cba6c51e4b7d2
Author: Jiahao Xu <xujia...@loongson.cn>
Date:   Wed Nov 29 11:16:59 2023 +0800

    LoongArch: Fix lsx-vshuf.c and lasx-xvshuf_b.c tests fail on LA664
[PR112611]

    For [x]vshuf instructions, if the index value in the selector exceeds 63,
it triggers
    undefined behavior on LA464, but not on LA664. To ensure compatibility of
these two
    tests on both LA464 and LA664, we have modified both tests to ensure that
the index
    value in the selector does not exceed 63.

    gcc/testsuite/ChangeLog:

            PR target/112611
            * gcc.target/loongarch/vector/lasx/lasx-xvshuf_b.c: Sure index less
than 64.
            * gcc.target/loongarch/vector/lsx/lsx-vshuf.c: Ditto.
  • [Bug target/112611] LoongArch: ... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to