Message ID | orsfhyxik0.fsf@lxoliva.fsfla.org |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp733053wrr; Fri, 2 Dec 2022 01:27:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf7S+/MN6IFNjgKtZFh0pTvftSPtk0N+y6tO5sGSLrX3OOps2nhk/yO3K9Z1JDltGgIOXRvk X-Received: by 2002:a17:906:7c45:b0:7c0:c45c:90e4 with SMTP id g5-20020a1709067c4500b007c0c45c90e4mr1666260ejp.473.1669973251391; Fri, 02 Dec 2022 01:27:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669973251; cv=none; d=google.com; s=arc-20160816; b=yTSBE3K7MgKmucF8lZsDnWy6n1gHZLAc1+yfHxZYoyDdJT8ZxXflj6S8P8BXEBtB1K F9QCpDP2At/LKTkBNef42+Z/7lBZ0XyS8uC3w1BDkxq/RDoENTcCbPcik2oRg9XnsiNp jNOgNSVzRignyo2VLpYqMHSSctj8jdRF8d9O22KPSaVnMPT7OlerhUb9RYZHvbrn+0Hv rAW7fn0/2peLLEoqskgYNH6NbKVgtYpg+yu2kQ8LWN2KxAq+1t2w4ErfZx2pwdybbZlg o2x74IEIdbV7vlt0W7qmslEZKGIpRSH38yP81Bei1koteDYlpDwncMHaxLmDuziATNqu 2WPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:mime-version :user-agent:message-id:date:organization:subject:cc:to:dmarc-filter :delivered-to:dkim-signature:dkim-filter; bh=8Uxt3+yca7CxH3WMzlVP3kaIEfa+Iwj9xEEZ9YGu9ZI=; b=cWuX/SRI6yzZ2QgFSkIbXbE5aiPgpxOZrL4fg5JTqCkhdoLXjXVzPfNNxTPjcr86co IRW/hNHASy8J1i/O9FVv4rtMXfngHj2LAj/G/bFtH9xln/iDhkvloHAW1UKBpvzGzM1r 1ESsccxP8zZ84Z/AT07kzhqz7R2TQqbInzEe3/e0iIloTFjikxUVwT+MW5XBc8ddHGOM 4mgZtw3is5SGsa30MXFe9BdeJkv7rWFX3RJyd7QkqvT4BdCODtUAv+wgoBy4csmeIc4x BdehnnpxrJt26Xw5yS9cULP8D8sapWfpPVgy5WBTLg495rZb3SRM2WaOry5YaFtjUf1d bhOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="kpJN/dIJ"; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id z14-20020a05640240ce00b004595af54eacsi6587610edb.226.2022.12.02.01.27.31 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 01:27:31 -0800 (PST) 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; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="kpJN/dIJ"; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 64C663858C53 for <ouuuleilei@gmail.com>; Fri, 2 Dec 2022 09:27:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 64C663858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669973250; bh=8Uxt3+yca7CxH3WMzlVP3kaIEfa+Iwj9xEEZ9YGu9ZI=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=kpJN/dIJAfqhVNHzSGIfjxbjEK/UCnzCHuU1vLhDVVhsymN1mGUqqjH+Vioz5q2eD 2thcHsqSM97yh6CQP4T0Bz8FLmh0K/bzp0wKJPyCUXiTOhjUjEAp7jy4ggfok3mHQF d2PqG6UsnViaj1WIkupHMEz2dw5FhQBoayeZapgo= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from rock.gnat.com (rock.gnat.com [IPv6:2620:20:4000:0:a9e:1ff:fe9b:1d1]) by sourceware.org (Postfix) with ESMTPS id 7EE423858C53 for <gcc-patches@gcc.gnu.org>; Fri, 2 Dec 2022 09:26:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7EE423858C53 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 49EF3116B1E; Fri, 2 Dec 2022 04:26:46 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oav-WUN9M6FA; Fri, 2 Dec 2022 04:26:46 -0500 (EST) Received: from free.home (tron.gnat.com [IPv6:2620:20:4000:0:46a8:42ff:fe0e:e294]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPS id 12AF8116B1A; Fri, 2 Dec 2022 04:26:45 -0500 (EST) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 2B29QdcW1291259 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 2 Dec 2022 06:26:39 -0300 To: gcc-patches@gcc.gnu.org Cc: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>, Mike Stump <mikestump@comcast.net> Subject: [PATCH] [PR42093] [arm] [thumb2] disable tree-dce for test Organization: Free thinker, does not speak for AdaCore Date: Fri, 02 Dec 2022 06:26:39 -0300 Message-ID: <orsfhyxik0.fsf@lxoliva.fsfla.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_NONE, 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.29 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> From: Alexandre Oliva via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Alexandre Oliva <oliva@adacore.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751093871805431609?= X-GMAIL-MSGID: =?utf-8?q?1751093871805431609?= |
Series |
[PR42093,arm,thumb2] disable tree-dce for test
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Alexandre Oliva
Dec. 2, 2022, 9:26 a.m. UTC
CD-DCE introduces blocks to share common PHI nodes, which replaces a backwards branch that used to prevent the thumb2 jump table shortening that PR42093 tested for. In order to keep on testing that the backward branch prevents the jumptable shortening, disable tree-dce. Regstraped on x86_64-linux-gnu, also tested with crosses to riscv64-elf and arm-eabi. Ok to install? for gcc/testsuite/ChangeLog PR target/42093 * gcc.target/arm/pr42093.c: Disable tree-dce. --- gcc/testsuite/gcc.target/arm/pr42093.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 02/12/2022 09:26, Alexandre Oliva via Gcc-patches wrote: > > CD-DCE introduces blocks to share common PHI nodes, which replaces a > backwards branch that used to prevent the thumb2 jump table shortening > that PR42093 tested for. In order to keep on testing that the > backward branch prevents the jumptable shortening, disable tree-dce. > > Regstraped on x86_64-linux-gnu, also tested with crosses to riscv64-elf > and arm-eabi. Ok to install? > > > for gcc/testsuite/ChangeLog > > PR target/42093 > * gcc.target/arm/pr42093.c: Disable tree-dce. OK. R. > --- > gcc/testsuite/gcc.target/arm/pr42093.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.target/arm/pr42093.c b/gcc/testsuite/gcc.target/arm/pr42093.c > index 7ba2f933eef81..69b1470607c7f 100644 > --- a/gcc/testsuite/gcc.target/arm/pr42093.c > +++ b/gcc/testsuite/gcc.target/arm/pr42093.c > @@ -1,4 +1,4 @@ > -/* { dg-options "-mthumb -O2 -fno-reorder-blocks" } */ > +/* { dg-options "-mthumb -O2 -fno-reorder-blocks -fno-tree-dce" } */ > /* { dg-require-effective-target arm_thumb2_ok } */ > /* { dg-final { scan-assembler-not "tbb" } } */ > /* { dg-final { scan-assembler-not "tbh" } } */ >
diff --git a/gcc/testsuite/gcc.target/arm/pr42093.c b/gcc/testsuite/gcc.target/arm/pr42093.c index 7ba2f933eef81..69b1470607c7f 100644 --- a/gcc/testsuite/gcc.target/arm/pr42093.c +++ b/gcc/testsuite/gcc.target/arm/pr42093.c @@ -1,4 +1,4 @@ -/* { dg-options "-mthumb -O2 -fno-reorder-blocks" } */ +/* { dg-options "-mthumb -O2 -fno-reorder-blocks -fno-tree-dce" } */ /* { dg-require-effective-target arm_thumb2_ok } */ /* { dg-final { scan-assembler-not "tbb" } } */ /* { dg-final { scan-assembler-not "tbh" } } */