From patchwork Thu Aug 18 20:29:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 608 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6a10:38f:b0:2d5:3c95:9e21 with SMTP id 15csp507760pxh; Thu, 18 Aug 2022 13:29:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR46hNaARkT6snhLM+Hc+hBSoKiuASpHp1hs5Lr5os8Ae8BF1mISARdDwNxzGY+OJIbDINLG X-Received: by 2002:a05:6402:b84:b0:43d:962d:7db1 with SMTP id cf4-20020a0564020b8400b0043d962d7db1mr3349664edb.270.1660854581074; Thu, 18 Aug 2022 13:29:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660854581; cv=none; d=google.com; s=arc-20160816; b=rtUkOaTzpgOaq9j3ui/GlziFwHirJL0IuUOGNWmuxVGRX4rdhSVcLO/qTq9UVL3YwZ laJPT/0DMp6Das4NPANvsuUR9vo5M97HC9BdlWTo2qTpCLbtb4Op9lUJFcmB/pmElXr5 VhiVQXTTlh30jv18MXOaWXEzqsdLtG3JpQzq6u5ZnWpp6jZ9dUDVYd/WvJuST7w1ddsL lcr3ybpbY/LNFwyMCfWxpR9FTrKTB/vWzVgWBXFR+iGH+6znTD+gKxzY7eIPatO2Bjqy 3e9LEcArIPiFe+22vONlXsCBEEORgafM278c4cNfZfgQp44g/NMi+9plFPPJ+Ajs6XTT dADA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:message-id:date:subject:to:from :dmarc-filter:delivered-to; bh=sWsztK4mh5mMcFWU5kXd+poYgWdQywur6/T1A3cfbEE=; b=Tj3KV3QWFpfQ9OF/Fi9rDVGgLY4aXV98RnuNq0z7mw2PG71l0UfVfB240HdfBMzGpu lToWiku0B9dOaESiWedybpYpBokZWLciGpzQBbvlw50kbWaTY8+47mYQnBKW2qPTKBJa APQQDT/C4iRrRAbYXoyPjquH2QPuqvHWPGbufrs5EZ0CZ5X2hUXFRb5hAFJVRuR4m7qv aUKbjzk8dDi/Q7MbIRym8xF2UBJ5uW4jj6NRSG/nqUrd9PVIptNfXl5smfaBar04/Hkc Kg4b1tICwNr472ic/RxK3NqHpimx77N8Eyc238jwy+uBb+w4WN8sZgKMLmVXnNd0EsWC DFfA== 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 sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id go16-20020a1709070d9000b00738756f6db2si2143051ejc.678.2022.08.18.13.29.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Aug 2022 13:29:41 -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 6A639385800E for ; Thu, 18 Aug 2022 20:29:37 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from gcc1-power7.osuosl.org (gcc1-power7.osuosl.org [140.211.15.137]) by sourceware.org (Postfix) with ESMTP id 1364B3858CDB for ; Thu, 18 Aug 2022 20:29:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1364B3858CDB Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=gcc1-power7.osuosl.org Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id DC1FF12409C2; Thu, 18 Aug 2022 20:29:11 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Subject: [PATCH] rs6000: Delete pr56605.c testcase Date: Thu, 18 Aug 2022 20:29:06 +0000 Message-Id: <21bfac5596f36cb2d1b1ef96385aa659dd9bdc07.1660854476.git.segher@kernel.crashing.org> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Segher Boessenkool , dje.gcc@gmail.com, "Kewen.Lin" Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1741532252943303328?= X-GMAIL-MSGID: =?utf-8?q?1741532252943303328?= This testcase has never tested the problem in the PR it is named for (except perhaps very indirectly), and over the years this argumentation has become thinner all the time. Now we are faced with on the one hand having to accept various forms of code, but on the other hand very similar code is generated elsewhere in the testcase, and the crux of the check is that we have to make sure no duplicate happens. I see no better way forward than to delete this testcase. Comments? I'll commit this tomorrow. Segher 2022-08-18 Segher Boessenkool gcc/testsuite/ PR target/102146 * gcc.target/powerpc/pr56605.c: Delete. --- gcc/testsuite/gcc.target/powerpc/pr56605.c | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 gcc/testsuite/gcc.target/powerpc/pr56605.c diff --git a/gcc/testsuite/gcc.target/powerpc/pr56605.c b/gcc/testsuite/gcc.target/powerpc/pr56605.c deleted file mode 100644 index 7695f87db6f6..000000000000 --- a/gcc/testsuite/gcc.target/powerpc/pr56605.c +++ /dev/null @@ -1,15 +0,0 @@ -/* PR rtl-optimization/56605 */ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ -/* { dg-options "-O3 -mvsx -mdejagnu-cpu=power7 -fno-unroll-loops -fdump-rtl-combine" } */ - -void foo (short* __restrict sb, int* __restrict ia) -{ - int i; - for (i = 0; i < 4000; i++) - ia[i] = (int) sb[i]; -} - -/* { dg-final { scan-rtl-dump-times {\(compare:CC \((?:and|zero_extend):(?:[SD]I) \((?:sub)?reg:[SD]I} 1 "combine" } } */ -