Message ID | 20231013054519.461486-1-juzhe.zhong@rivai.ai |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1681011vqb; Thu, 12 Oct 2023 22:45:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEKGVvYMjN47lR78IFWkj+QZugf/iwuHLxCoN7TPWMxEs8AaL3LiF0R1lDjznE4KDxiqUyz X-Received: by 2002:a05:620a:2009:b0:775:92ac:a3dc with SMTP id c9-20020a05620a200900b0077592aca3dcmr25626388qka.46.1697175954714; Thu, 12 Oct 2023 22:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697175954; cv=none; d=google.com; s=arc-20160816; b=zTloAH93ZlgkN1+JSseV7aRgqOf1QLh6tGu5ssY8zWBrFI49ASzY1Mj/YSeQEieu5I uo8dv3h/i7GUGVd/yIletIuL7J7i0pWwjHWpLDm2sSaKKpvGF5erj2J1X6L/go+GhPEn 30w2WjU+ngAJr5bE1r+zj1Q782vvNoEi0GL9jx5G5VL4fjn8YueyzurvfPdSR/V4UTpw +7cr7iJWIH5ahdOvyGKotWyXga65NxBJUldZ2pTYJrK0Og8ptL/b67+3QsvGQ1010OSk Km5yk2yGrE0/qa96GhGs4qmuUo51BaEWfB4jml09nWqkA2rYLa6Wlbo7fEQiBAWZ4xBG mVzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dmarc-filter:delivered-to; bh=npgrTMA0CdchCkaMx/+jrP1D9Q6DdWs5Yz42xXuKExw=; fh=aiNth+pJ2dvKNW3npvMjL2thrslXjqLc41AzrCXI5a8=; b=KGJ3LowI1XbQvctREUww/EzAdQUTXGZglb7thTHigI3ZLAZI7L0vcfZ5ALUhI/tozI mrC2duqAEzS6AHzpzpLCeVvbQuptpdEY8wtnLdbJHEV/o6ZKIUP+fqUCor8cnOpRZYhb 2JEJsJWdqVgNafHPvxcWlTdQz5h+EjlNE92zipIicCbVgCZuuXG86FTQdzncdwnMLo2s rKx0ftGLW3BFGEpjJadDZ3519+5h7fZpeOJpMqXuTMNfjhHb6gtZnoHQl1C7Qs4qKihC GRCUoLPktbwhSFNKoTLkmbLRlBFmcU8/lIPXjrZH5ooNQYrE+npEHjILb9DnOaApZsIB WvmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id q26-20020a05620a0c9a00b0077424168fa1si661522qki.629.2023.10.12.22.45.54 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 22:45:54 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 79A193857707 for <ouuuleilei@gmail.com>; Fri, 13 Oct 2023 05:45:54 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbg150.qq.com (smtpbg150.qq.com [18.132.163.193]) by sourceware.org (Postfix) with ESMTPS id CF4B03858404 for <gcc-patches@gcc.gnu.org>; Fri, 13 Oct 2023 05:45:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CF4B03858404 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai X-QQ-mid: bizesmtp62t1697175922t56cqsif Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 13 Oct 2023 13:45:21 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: 3M0okmaRx3gxWl28Tjlo6emB4xgF0F+iuA8vYabhVnZNm1B0pgxq2nXC8PQFq YAfop1DONO420LPFBJ9O1G/IkZpLDrJ2CTse9LSI0HnRE0puGgN8MDq9jyzyqPp40PPRUs1 VT5tu/ElBl9c47FjkyCcYB0/oA1NHgq7sqXwCEosz/lnH5hfTSNlhVkTc5la7Om3byER4Ph +4U++XxVHcgNgzI/wrCVQ2QYLlJxiZvCuApjvznIm4ZZWSqCGUVW49nnkiOfNihykU8W/oU 0F+l62Jnioz42SQ+UmJeteEuWnIylEEvtumYx6hAXzxIqsqY+hlF07DbfbzWgihorvx1WNL tyD7G/b5b9VrIiSupkY2T18FfUsEBc/y1fAjVlJuDNTgg4SKMoxAVgR5Y8mPwxw0NRYF0vz X-QQ-GoodBg: 2 X-BIZMAIL-ID: 6788203710210677335 From: Juzhe-Zhong <juzhe.zhong@rivai.ai> To: gcc-patches@gcc.gnu.org Cc: jeffreyalaw@gmail.com, rguenther@suse.de, Juzhe-Zhong <juzhe.zhong@rivai.ai> Subject: [PATCH] RISC-V Regression: Fix FAIL of bb-slp-pr69907.c for RVV Date: Fri, 13 Oct 2023 13:45:19 +0800 Message-Id: <20231013054519.461486-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779617973752324153 X-GMAIL-MSGID: 1779617973752324153 |
Series |
RISC-V Regression: Fix FAIL of bb-slp-pr69907.c for RVV
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
juzhe.zhong@rivai.ai
Oct. 13, 2023, 5:45 a.m. UTC
Like ARM SVE and GCN, add RVV. gcc/testsuite/ChangeLog: * gcc.dg/vect/bb-slp-pr69907.c: Add RVV. --- gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
LGTM Juzhe-Zhong <juzhe.zhong@rivai.ai> 於 2023年10月12日 週四 22:45 寫道: > Like ARM SVE and GCN, add RVV. > > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/bb-slp-pr69907.c: Add RVV. > > --- > gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c > b/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c > index b348526b62f..f63b42a271a 100644 > --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c > +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c > @@ -22,5 +22,5 @@ void foo(unsigned *p1, unsigned short *p2) > /* Disable for SVE because for long or variable-length vectors we don't > get an unrolled epilogue loop. Also disable for AArch64 Advanced SIMD, > because there we can vectorize the epilogue using mixed vector sizes. > - Likewise for AMD GCN. */ > -/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of > a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { ! > amdgcn*-*-* } } } } } */ > + Likewise for AMD GCN and RVV. */ > +/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of > a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { { ! > amdgcn*-*-* } && { ! riscv_v } } } } } } */ > -- > 2.36.3 > >
Thanks. Committed.
juzhe.zhong@rivai.ai
From: Kito Cheng
Date: 2023-10-13 14:01
To: Juzhe-Zhong
CC: GCC Patches; Jeff Law; Richard Biener
Subject: Re: [PATCH] RISC-V Regression: Fix FAIL of bb-slp-pr69907.c for RVV
LGTM
Juzhe-Zhong <juzhe.zhong@rivai.ai> 於 2023年10月12日 週四 22:45 寫道:
Like ARM SVE and GCN, add RVV.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/bb-slp-pr69907.c: Add RVV.
---
gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c
index b348526b62f..f63b42a271a 100644
--- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c
+++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c
@@ -22,5 +22,5 @@ void foo(unsigned *p1, unsigned short *p2)
/* Disable for SVE because for long or variable-length vectors we don't
get an unrolled epilogue loop. Also disable for AArch64 Advanced SIMD,
because there we can vectorize the epilogue using mixed vector sizes.
- Likewise for AMD GCN. */
-/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { ! amdgcn*-*-* } } } } } */
+ Likewise for AMD GCN and RVV. */
+/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { { ! amdgcn*-*-* } && { ! riscv_v } } } } } } */
--
2.36.3
On Fri, 13 Oct 2023, Juzhe-Zhong wrote: > Like ARM SVE and GCN, add RVV. Adding RVV when SVE or GCN is already there looks obvious to me, these kind of changes are pre-approved. No need for all the noise. Thanks, Richard. > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/bb-slp-pr69907.c: Add RVV. > > --- > gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c > index b348526b62f..f63b42a271a 100644 > --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c > +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c > @@ -22,5 +22,5 @@ void foo(unsigned *p1, unsigned short *p2) > /* Disable for SVE because for long or variable-length vectors we don't > get an unrolled epilogue loop. Also disable for AArch64 Advanced SIMD, > because there we can vectorize the epilogue using mixed vector sizes. > - Likewise for AMD GCN. */ > -/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { ! amdgcn*-*-* } } } } } */ > + Likewise for AMD GCN and RVV. */ > +/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { { ! amdgcn*-*-* } && { ! riscv_v } } } } } } */ >
diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c b/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c index b348526b62f..f63b42a271a 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c @@ -22,5 +22,5 @@ void foo(unsigned *p1, unsigned short *p2) /* Disable for SVE because for long or variable-length vectors we don't get an unrolled epilogue loop. Also disable for AArch64 Advanced SIMD, because there we can vectorize the epilogue using mixed vector sizes. - Likewise for AMD GCN. */ -/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { ! amdgcn*-*-* } } } } } */ + Likewise for AMD GCN and RVV. */ +/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { { ! amdgcn*-*-* } && { ! riscv_v } } } } } } */