From patchwork Mon Oct 9 13:39:25 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: 150110 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp1875746vqo; Mon, 9 Oct 2023 06:40:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH4R1f1Hfu6c4cNT7BxXpL875qsWbbC90YBGcRzK1IMf0bKSqwlMexEM40z/QpRxTXLhxTc X-Received: by 2002:a17:907:762d:b0:9ad:99a8:7c53 with SMTP id jy13-20020a170907762d00b009ad99a87c53mr13018618ejc.60.1696858803945; Mon, 09 Oct 2023 06:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696858803; cv=none; d=google.com; s=arc-20160816; b=xeM9BG/UoUvy5AfvIuds/cyK8t5/FdmDy2Gni4i2X0RVRIQQb1Ddbb1alzpqcPqzL4 exTYThgXVutY1BkryPKlKvO2ZUwgkwWN8/slxNSVDiu+pw1E3QFfxmuKq1w+RGsKpTX9 h80iOVN0dIrGGqqxA/9c+Tgyjg8XD8sqDKWT2xfoNWICczPJ/CfRaLoepbWhPvKz2LvI BG3JRkWlGPyEMwH43I6klsJm1bVp2oy2/6up41MKvcfYdSRxrj3MfclN1owVDiv5F/wg 0DnSxgzxh0f+HtDWvvGah4MHWpi6QCAEQAYS1r5L1O+jYK5/TUY0kFzHDcQfhCe0uHGy ODAg== 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=mKbJLXOt7RMOC3eTx6lqFMFWxMOrZ+whmx0Jy/bRiis=; fh=Ytz0BgUryGxSKnlvo5iIYZYov/AuWMbdn9WUJJDE2rE=; b=GtxCMA4Cz4HjniX0V/3l0Kp8OO+1wl7UTq/Qb/J8mvr4P/KUcJFpAQyfONiObFwkN0 McLSk9yIIQ5WIM6oBOpwxtMQoh9ajXNkQmKh8BdwifUvrE237NT/LyBDl5EDLhirNZRv ueshyNgFIJ2dMcKzOwhL0Ch1l3KGO2LJFQmrZtZE+7XQS2s4mEm1lGqTl7H5RYf2Ize7 f4EreFF8GsWrODxKMbhf2d6VIpu5+KFdDtkNBsvPEnd1B6yGwPdEtVThFIWMPp2Ey70q sDHvKbsIyBvUXsber8O0EvtKsUVm96BIr9JEJmZFyuTagSBirNOddcUs8cEGPF69I0Qt Y6dw== 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 j18-20020a170906475200b00988939ad0bdsi4569955ejs.321.2023.10.09.06.40.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Oct 2023 06:40:03 -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 8C5483858D39 for ; Mon, 9 Oct 2023 13:39:59 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbguseast2.qq.com (smtpbguseast2.qq.com [54.204.34.130]) by sourceware.org (Postfix) with ESMTPS id 242693858D1E for ; Mon, 9 Oct 2023 13:39:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 242693858D1E 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: bizesmtp75t1696858767ti6ira76 Received: from rios-cad122.hadoop.rioslab.org ( [58.60.1.26]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 09 Oct 2023 21:39:26 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: yFWqZ/siFTHSGSqdwkJUvcqlAxemS9gaoYILLibTehmgZptkkk++hKRNd102R ucXRtE2AiaCboA1ZgGW76qH2um9nqSQdaYaVqUahl6eF9PyQ0pngSQHXanms9OM7DLEsf0x TvZfqBi3Cx+cOGB/PLqqNfcON29UBMADdsLTRFubOft0kjdZO5FsGiXN/YgYitanL9b9oQn pPvMY9RaChvSvckun5mZhU6xKHTJPP/9/eabb7uK4j+lb/dzpe5olJkhup39EzUOVBrULwK qssq4EWQHDYtWc3LCRewIJvrJLPNp7hh+3/23p3NZ9vc+cK1nsK/eBMVtRBCJBaSw0ugvCA VgHldTUKWG1f/wNJC8TPKlW76GzbOP97d8GYCm0gWmwmNbKJ9rrYryqWnspcbAV9yVsTiWt qMpfwBNTuSY= X-QQ-GoodBg: 2 X-BIZMAIL-ID: 13907467313374022611 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: rguenther@suse.de, jeffreyalaw@gmail.com, Juzhe-Zhong Subject: [PATCH] RISC-V Regression test: Fix slp-perm-4.c FAIL for RVV Date: Mon, 9 Oct 2023 21:39:25 +0800 Message-Id: <20231009133925.29739-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: 1779285417308907728 X-GMAIL-MSGID: 1779285417308907728 RVV vectorize it with stride5 load_lanes. gcc/testsuite/ChangeLog: * gcc.dg/vect/slp-perm-4.c: Adapt test for stride5 load_lanes. --- gcc/testsuite/gcc.dg/vect/slp-perm-4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/slp-perm-4.c b/gcc/testsuite/gcc.dg/vect/slp-perm-4.c index 107968f1f7c..f4bda39c837 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-perm-4.c +++ b/gcc/testsuite/gcc.dg/vect/slp-perm-4.c @@ -115,4 +115,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" 1 "vect" } } */ +/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { ! { vect_load_lanes && vect_strided5 } } } } } */