From patchwork Tue Oct 10 01:16:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "juzhe.zhong@rivai.ai" X-Patchwork-Id: 150433 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp2213782vqo; Mon, 9 Oct 2023 18:17:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFr8B1BabyvWl9xSAV0PLnEcpLaoWd/Jd3gG/JTnUAGJBVgboBf9XXlXMjiDFfrDvNuFGfr X-Received: by 2002:a17:907:7601:b0:9ba:b5:cba6 with SMTP id jx1-20020a170907760100b009ba00b5cba6mr9272956ejc.14.1696900642855; Mon, 09 Oct 2023 18:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696900642; cv=none; d=google.com; s=arc-20160816; b=UPZnsQ2jphttKu56vwgWBdc71NU6eI7Dooxnh47EtbixYTWQeA48S/KleTa5gGzlv+ VAMx+I7Ws3jVX+x1tyY7RCjwyvAdIFr4LGfblcdwGZwJCjtN2XaCNgF1w+8QH5qxgbAy 6IfNjabPVr2lO1JvcQOlPLuypoShhhSrHa8433YSZf2xasKLzuiufSk35CK6asjfKYae ut/NW6CHXHcsQM/FoWWOwTnoJWOe4qCwgxEUiO+WnLopAbgvQ6bwtOPFhWrMaYn4jZgt +5BulSfJ9ZV+70sn6EPEbbOy9PI0I/WXrst9DRfr9DggJ9OlxAr7v5Yi3VUHc4YfgLZU yABw== 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=L+IEjlLqMpxRPVTdG6o12HW3ARHw33vCNBEIX9nRZCY=; fh=Ytz0BgUryGxSKnlvo5iIYZYov/AuWMbdn9WUJJDE2rE=; b=zc18pAjEtTPlbVaPpu7ZNmXTEEk74TjnIe7wz+smMrmPShc7/7V8KZWi5n0Ch0ufSV YvupDYT7vOU5JjlepyUNI3KaCEbCDF86uYMgQydBOHxcIXuMQAVNoWNj6ROIn2wfCoX3 GksvdppaioqDebtZqD0zgW1BXxYXB1R56NqOCk+G6vyDhZWrmQWHCefAhLzum6NKomgO YpHz65cd3F2Mwb1lK7XZ3eMWRPKSTwPlquNvWm33vtHv/YiUCmrGRTOet1koJyxtyZzP fVJap3fjqa1mu2AFW/IleYeHarbPHdr6NlLxUpD20e30cHqJl/SCg0BHocmqSOVEIn32 +Kpg== 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 o25-20020a1709061b1900b009b92b945591si4791691ejg.177.2023.10.09.18.17.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 18:17:22 -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 4AC403858023 for ; Tue, 10 Oct 2023 01:17:18 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgsg2.qq.com (smtpbgsg2.qq.com [54.254.200.128]) by sourceware.org (Postfix) with ESMTPS id 6667C3858D32 for ; Tue, 10 Oct 2023 01:16:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6667C3858D32 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: bizesmtp84t1696900600tiep6hcq Received: from rios-cad122.hadoop.rioslab.org ( [58.60.1.26]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 10 Oct 2023 09:16:39 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: hbRRqFkQ5KmH+ewwAJklYRKnQxGJ8irZ9GH9eG5FfkZQqzBSxkolK0XlCAGBg p41u4vQ4NEl4gDX/5RA/ayvacWSxAGf82pESoe0G/o1VqwYC4tWFM+/JhRwdgVnvA+JqghU Gng0zzn/8hJQ1OuIsuqyg3QosIytl+8ZjAN8pfWKZL05i3GRH1d5V/GEIG3Q4kP2rs8YBgZ RwQhNWYrfzVUTyxNoF0jkMk+6OCsXgMFFh61uoIHx8tpGG2rp4xDyhNT7t714YbwLl+11Pl U/MsNgOUyP8VuNjE+5K0MkWrTMPGE6I5TNZc1qtsfKrNUMfbnvtUcIYXdPcT2/sYZARlqbJ SnP+CVBJXh2arR1MWlM5xl8971AfBefTZ01MJhZHY983ampVQDtdJiLR9e+6uw5fhzRKkzV X-QQ-GoodBg: 2 X-BIZMAIL-ID: 261206990630536611 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: rguenther@suse.de, jeffreyalaw@gmail.com, Juzhe-Zhong Subject: [PATCH] RISC-V Regression: Fix dump check of bb-slp-68.c Date: Tue, 10 Oct 2023 09:16:38 +0800 Message-Id: <20231010011638.103019-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779329288914837734 X-GMAIL-MSGID: 1779329288914837734 Like GCN, RVV also has 64 bytes vectors (512 bits) which cause FAIL in this test. It's more reasonable to use "vect512" instead of AMDGCN. gcc/testsuite/ChangeLog: * gcc.dg/vect/bb-slp-68.c: Use vect512. --- gcc/testsuite/gcc.dg/vect/bb-slp-68.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-68.c b/gcc/testsuite/gcc.dg/vect/bb-slp-68.c index e7573a14933..2dd3d8ee90c 100644 --- a/gcc/testsuite/gcc.dg/vect/bb-slp-68.c +++ b/gcc/testsuite/gcc.dg/vect/bb-slp-68.c @@ -20,4 +20,4 @@ void foo () /* We want to have the store group split into 4, 2, 4 when using 32byte vectors. Unfortunately it does not work when 64-byte vectors are available. */ -/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail amdgcn-*-* } } } */ +/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail vect512 } } } */