public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-4515] RISC-V Regression test: Fix FAIL of slp-reduc-4.c for RVV
@ 2023-10-09 14:29 Pan Li
0 siblings, 0 replies; only message in thread
From: Pan Li @ 2023-10-09 14:29 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:db20b83cfffc692691156b67caf9d0228252accb
commit r14-4515-gdb20b83cfffc692691156b67caf9d0228252accb
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date: Mon Oct 9 21:41:23 2023 +0800
RISC-V Regression test: Fix FAIL of slp-reduc-4.c for RVV
RVV vectortizes this case with stride8 load_lanes.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/slp-reduc-4.c: Adapt test for stride8 load_lanes.
Diff:
---
gcc/testsuite/gcc.dg/vect/slp-reduc-4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/vect/slp-reduc-4.c b/gcc/testsuite/gcc.dg/vect/slp-reduc-4.c
index 15f5c259e98..e2fe01bb13d 100644
--- a/gcc/testsuite/gcc.dg/vect/slp-reduc-4.c
+++ b/gcc/testsuite/gcc.dg/vect/slp-reduc-4.c
@@ -60,6 +60,6 @@ int main (void)
/* For variable-length SVE, the number of scalar statements in the
reduction exceeds the number of elements in a 128-bit granule. */
/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { ! vect_multiple_sizes } xfail { vect_no_int_min_max || { aarch64_sve && vect_variable_length } } } } } */
-/* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { target { vect_multiple_sizes } } } } */
+/* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { target { vect_multiple_sizes && { ! { vect_load_lanes && vect_strided8 } } } } } } */
/* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 0 "vect" { xfail { aarch64_sve && vect_variable_length } } } } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-09 14:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-09 14:29 [gcc r14-4515] RISC-V Regression test: Fix FAIL of slp-reduc-4.c for RVV Pan Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).