Message ID | 20231107092317.732045-1-juzhe.zhong@rivai.ai |
---|---|
State | Not Applicable |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp112988vqo; Tue, 7 Nov 2023 01:24:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFkb9Ef0nB6DYtVNq2IbpgnsK07kANkmeetnUkuL8BLV6WvkW6AcJIPZidGtqzqPGlbhLO X-Received: by 2002:a05:620a:394f:b0:772:6364:1409 with SMTP id qs15-20020a05620a394f00b0077263641409mr37225779qkn.10.1699349093052; Tue, 07 Nov 2023 01:24:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699349093; cv=pass; d=google.com; s=arc-20160816; b=aEi8H5W7gfT7OH7E6Y8EIuWGDmFDGFVrLxehd5U6kVyyWs59lNN33CpSbgAW5jATeB rjQ2jYY4mwMkntUYeJgIWbG30H4divgK+HiBKyPn+nxTYOLGPlLV+j2Ht760G05JoDnA fFr9CINQ7/7HJNWN/STX9Lvw9pOVHxQVibhqidrkT0dhHyqFW5342pyFU1K8+8eAJfk9 BUyXnA7A9yp29mfppm6/gYh8rX89DYAWJ47GWWk4UdkEWX+Zmly8clu86v+YLrsdXOeY N3/qXiQt6d7+w05DUgVWqYcZgN+m2n/twp2vDijtdPr06omjKLWqwiRv/RmPubRCrB8p 9y0w== ARC-Message-Signature: i=2; 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:arc-filter:dmarc-filter:delivered-to; bh=rU4tUjlFRTqF7qr27L7litn8w+zjEEnaGvalYelgRxQ=; fh=Ytz0BgUryGxSKnlvo5iIYZYov/AuWMbdn9WUJJDE2rE=; b=UE+EEjOF29xY09gkGulXVePEyk7MyFdgRe2mIIGW3vNW3r1IMs/sqrtokaz2x8Zgxr aTk9y1a4xH1IJClh95zz51JQUQX3gGNuUzym1jWL+J7R4utZ3jMyXqmcGDVR030x0UrF ztSf55PXNQCpL14M5frIyKiNevlsOWiLA7gflc9W2t6hlYxxKl0R6axBA/LkNa4sYwTE OQbLMoOLNWdP1z1m4wgnW1iUQSE5pbS5tuarwMnBeW1dpu02PDWWGfHZ+RHOX0FOW4cC b0/1ZatDmfMIKXNKUJrM7CctwSUXTC7u4oSwFFxeXX51oo6sJNU+vRSohHDwunNdm68T 5Fdg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ra4-20020a05620a8c8400b0076da8b217e9si6620384qkn.694.2023.11.07.01.24.53 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 01:24:53 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 15F6F385DC13 for <ouuuleilei@gmail.com>; Tue, 7 Nov 2023 09:23:54 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgjp3.qq.com (smtpbgjp3.qq.com [54.92.39.34]) by sourceware.org (Postfix) with ESMTPS id 8DEC73856263 for <gcc-patches@gcc.gnu.org>; Tue, 7 Nov 2023 09:23:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8DEC73856263 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8DEC73856263 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=54.92.39.34 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699349011; cv=none; b=aKqJ2F0vLMvb57Gt277ph6vH6he5Rc1zHERaxfjpof03KmLB6dfm6KfUU7skvrWVwOt95VEZRaVGcK//AtGHse4wFL+5HURAWSA4a3gL6n5DnkZ6IMZTk0or3AtQTlgaU/Blz7WbM26ZJlkfsEnfLrSawLo1l2j+rQ+qCCGWTKQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699349011; c=relaxed/simple; bh=X7SuHW19/Pe1FqeRIoW7U/2uQQbKhf97hONQw4wntoM=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=V/tzAZR/87Enxyqx1NHUlFIwvNzSFR2VF68L2p3/2ywoUcmcuPyuamVnxbhor3w6Gpv0vi2U5DG6FZpII8VxkDjCieYKOQgUGgdXMsIAaM+GFpRHb1Oh4GjSG7xf2ZK/8WnRROz7bkdk4Q+9/Jcn03BWDTqa68UHPOIbZALtPTc= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp68t1699349000t0g496nr Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 07 Nov 2023 17:23:18 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: iBxuBmNAXy0CNQQAaPDo/rtKa9wQ8t07oNWO79Ks1eS24KtjBjpjBjpgWB1rz K1iFvUrS6ye0ozKxg7jUJPY9y5CDvMYlIAjHLUN6Xp2FM0N3dZbtwzckpCn6Te2HQzg9p8v pjS7ex73HJZNMsSWPZBBXLJfacBoC+NmIX9lyB5uyzPs+3el8+kZsjOjAEB1C2hg6jQ5+Cn 7YhpiqBojLVDJAGuMaEwK4OPHGChsZ9IivZgrv5oePahkCK2XVPqSKuORdsN96JZUyE8MoY 2Vdujh2wPKvsdnfB0tVBODS0k9JjKA4FjSEAJpNUDasSSD20t2i4mclbtzxWiy98d7/j7bL FynylvgxxAwhW4RX7MFD8HVv8cy/uHa8pUizgRHibyVlZIIwK+tRLEH93uYTkKT1CEujYPL 9hOOr06L3VNEkr5r0iFiew== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 14925415018490723432 From: Juzhe-Zhong <juzhe.zhong@rivai.ai> To: gcc-patches@gcc.gnu.org Cc: rguenther@suse.de, jeffreyalaw@gmail.com, Juzhe-Zhong <juzhe.zhong@rivai.ai> Subject: [PATCH] test: Fix FAIL of pr65518.c for RVV[PR112420] Date: Tue, 7 Nov 2023 17:23:17 +0800 Message-Id: <20231107092317.732045-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: 1781896674471653310 X-GMAIL-MSGID: 1781896674471653310 |
Series |
test: Fix FAIL of pr65518.c for RVV[PR112420]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | fail | Git am fail log |
Commit Message
juzhe.zhong@rivai.ai
Nov. 7, 2023, 9:23 a.m. UTC
PR target/112420 gcc/testsuite/ChangeLog: * gcc.dg/vect/pr65518.c: Fix check for RVV. --- gcc/testsuite/gcc.dg/vect/pr65518.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
Comments
On Tue, 7 Nov 2023, Juzhe-Zhong wrote: > PR target/112420 OK > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/pr65518.c: Fix check for RVV. > > --- > gcc/testsuite/gcc.dg/vect/pr65518.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/vect/pr65518.c b/gcc/testsuite/gcc.dg/vect/pr65518.c > index 3e5b986183c..189a65534f6 100644 > --- a/gcc/testsuite/gcc.dg/vect/pr65518.c > +++ b/gcc/testsuite/gcc.dg/vect/pr65518.c > @@ -49,4 +49,6 @@ int main () > sub-optimal and causes memory explosion (even though the cost model > should reject that in the end). */ > > -/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" } } */ > +/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" { target {! riscv*-*-* } } } } */ > +/* We end up using gathers for the strided load on RISC-V which would be OK. */ > +/* { dg-final { scan-tree-dump "using gather/scatter for strided/grouped access" "vect" { target { riscv*-*-* } } } } */ >
Committed, thanks Richard. Pan -----Original Message----- From: Richard Biener <rguenther@suse.de> Sent: Tuesday, November 7, 2023 8:51 PM To: Juzhe-Zhong <juzhe.zhong@rivai.ai> Cc: gcc-patches@gcc.gnu.org; jeffreyalaw@gmail.com Subject: Re: [PATCH] test: Fix FAIL of pr65518.c for RVV[PR112420] On Tue, 7 Nov 2023, Juzhe-Zhong wrote: > PR target/112420 OK > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/pr65518.c: Fix check for RVV. > > --- > gcc/testsuite/gcc.dg/vect/pr65518.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.dg/vect/pr65518.c b/gcc/testsuite/gcc.dg/vect/pr65518.c > index 3e5b986183c..189a65534f6 100644 > --- a/gcc/testsuite/gcc.dg/vect/pr65518.c > +++ b/gcc/testsuite/gcc.dg/vect/pr65518.c > @@ -49,4 +49,6 @@ int main () > sub-optimal and causes memory explosion (even though the cost model > should reject that in the end). */ > > -/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" } } */ > +/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" { target {! riscv*-*-* } } } } */ > +/* We end up using gathers for the strided load on RISC-V which would be OK. */ > +/* { dg-final { scan-tree-dump "using gather/scatter for strided/grouped access" "vect" { target { riscv*-*-* } } } } */ >
diff --git a/gcc/testsuite/gcc.dg/vect/pr65518.c b/gcc/testsuite/gcc.dg/vect/pr65518.c index 3e5b986183c..189a65534f6 100644 --- a/gcc/testsuite/gcc.dg/vect/pr65518.c +++ b/gcc/testsuite/gcc.dg/vect/pr65518.c @@ -49,4 +49,6 @@ int main () sub-optimal and causes memory explosion (even though the cost model should reject that in the end). */ -/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" } } */ +/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" { target {! riscv*-*-* } } } } */ +/* We end up using gathers for the strided load on RISC-V which would be OK. */ +/* { dg-final { scan-tree-dump "using gather/scatter for strided/grouped access" "vect" { target { riscv*-*-* } } } } */