aboutsummaryrefslogtreecommitdiff
path: root/libgo/MERGE
diff options
context:
space:
mode:
authorJiahao Xu <xujiahao@loongson.cn>2024-12-25 17:59:36 +0800
committerLulu Cheng <chenglulu@loongson.cn>2024-12-31 17:36:03 +0800
commit81d4707a00a2d74a9caf2d806e5b0ebe13e1247c (patch)
tree8f77c944e20710f36fa50c21775848becbf2c141 /libgo/MERGE
parent509df13fbf0b3544cd39a9e0a5de11ce841bb185 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
LoongArch: Implement vector cbranch optab for LSX and LASXHEADtrunkmaster
In order to support vectorization of loops with multiple exits, this patch adds the implementation of the conditional branch optab for LoongArch LSX/LASX instructions. This patch causes the gen-vect-{2,25}.c tests to fail. This is because the support for vectorizing loops with multiple exits has vectorized the loop checking the results. The failure is due to an issue in the test case's own implementation. gcc/ChangeLog: * config/loongarch/simd.md (cbranch<mode>4): New expander. gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_vect_early_break_hw, check_effective_target_vect_early_break): Support LoongArch LSX. * gcc.target/loongarch/vector/lasx/lasx-vseteqz.c: New test. * gcc.target/loongarch/vector/lsx/lsx-vseteqz.c: New test. Co-authored-by: Deng Jianbo <dengjianbo@loongson.cn>
Diffstat (limited to 'libgo/MERGE')
0 files changed, 0 insertions, 0 deletions