On Thu, 2023-08-24 at 11:13 +0800, Chenghui Pan wrote: > - Add dg-skip-if for loongarch*-*-* in vshuf test in g++.dg/torture, because > vshuf/xvshuf insn's result is undefined when 6 or 7 bit of vector's element > is set, > and insns with this condition are generated in these testcases.
I'm almost sure this is wrong. You need to fix the code generation so __builtin_shuffle will always generate something defined on LoongArch, instead of covering up the issue. -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University