public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V Regression test: Fix FAIL of pr45752.c for RVV
@ 2023-10-12 21:58 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2023-10-12 21:58 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5fa4ad0f03f4ae758ff3fce39066ebb8ce54db7e

commit 5fa4ad0f03f4ae758ff3fce39066ebb8ce54db7e
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date:   Mon Oct 9 21:02:18 2023 +0800

    RISC-V Regression test: Fix FAIL of pr45752.c for RVV
    
    RVV use load_lanes with stride = 5 vectorize this case with -fno-vect-cost-model
    instead of SLP.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/vect/pr45752.c: Adapt dump check for target supports load_lanes with stride = 5.
    
    (cherry picked from commit 1543f3e331b317c086d9acfbdc2681e510c3d4c8)

Diff:
---
 gcc/testsuite/gcc.dg/vect/pr45752.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/vect/pr45752.c b/gcc/testsuite/gcc.dg/vect/pr45752.c
index 4ddac7ad509..ea812875655 100644
--- a/gcc/testsuite/gcc.dg/vect/pr45752.c
+++ b/gcc/testsuite/gcc.dg/vect/pr45752.c
@@ -158,4 +158,4 @@ int main (int argc, const char* argv[])
 
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
 /* { dg-final { scan-tree-dump-times "gaps requires scalar epilogue loop" 0 "vect" } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" {target { ! { vect_load_lanes && vect_strided5 } } } } } */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-12 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12 21:58 [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V Regression test: Fix FAIL of pr45752.c for RVV Jeff Law

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).