From patchwork Tue Jan 16 20:16:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 188592 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp501198dye; Tue, 16 Jan 2024 12:17:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIqNaz6o4LS06G8ovbJH7JQc6EuM1l5voRCzvw5mS1eanIvUrLcH924Mgh/AWcMMLInls/ X-Received: by 2002:a05:620a:29c8:b0:783:23ec:a4fb with SMTP id s8-20020a05620a29c800b0078323eca4fbmr11123784qkp.53.1705436260299; Tue, 16 Jan 2024 12:17:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705436260; cv=pass; d=google.com; s=arc-20160816; b=r7upTFJ+caS6unj8uk99AVMcyDyvCUbqtJu0WJoUti9RZ9RH1RychyT49W+YqOfw/u sqaSGI7hKUu7QIyezVjcj6iTAbOxarxH/rWet9C+IKsOOljDKI4X3MNM06/ColEzhCwn ksC1IhdpkPHhFc3JGhtZtUzhd1d7fQKWRZ6I9Fb1S42ZfV9vW1LMNSL74+I0Q/5GIX1e 2CdTyICkTQnMoue30+WNozawY/7ASM4pwrEz7bTrQq3V1JhHYIAdHkfeXFjHQYmIyvE6 ncvw625b7gLfQwBnXPyvK6xPhtewkzc0Y8XDktjFppQm5CbxZRTiaCL3ZfPuE4hLTugi o/PA== 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:content-disposition :mime-version:message-id:subject:to:from:date:arc-filter :dmarc-filter:delivered-to; bh=zvs/6+jjhyPbvMyu7akCipBOO0K8zLmdo2XO7QylSy8=; fh=1L2/IiukS00vgiXcKREcvt+pFBEM8GuYOng2C1a9k1k=; b=XgpXea9lb+v4jl1H7Cbr+W6bKlHfg2ntfXQk1QhibTdYQknPOSBrR+SRsFFmwUXJJn SIPJaAGtL/keFhgWr8Y8culB/3Mn7sR0MQfkjuocTAi0RaWLf3zSjFWXTCNAK1xwEpzA vvpDXSXPVzSWHoYhCIPpSB6bPaSX46JAEKs6mSh4xN4OAo7rQkr2wU50/fYfX7eSGIQ+ UZAuKaAiEx9RUD1lM3pStufKy3P1rXkHtasLM7oSEOHmWnQEBji0jp+oXZopsyOxHJbf wW4irlKsMDdQVPFDpeGg6Pi+Ld7P7se6s1rP4RuGKK/Apb/SwWs6JXCIRTJA1kcR/8r0 BYEA== 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 b26-20020a05620a04fa00b007830d5da0d0si10063163qkh.608.2024.01.16.12.17.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 12:17:40 -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 E78553858429 for ; Tue, 16 Jan 2024 20:17:39 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dellerweb.de (dellerweb.de [173.249.48.176]) by sourceware.org (Postfix) with ESMTPS id 2002F3858D37 for ; Tue, 16 Jan 2024 20:17:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2002F3858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=parisc-linux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2002F3858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=173.249.48.176 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705436225; cv=none; b=tY1O7CnYUTQqcvpKwkRrBcPMVYbBVHScrOikR/FpEtldfzu4+3XTq+0LK+2OGKGtcvah+3X70vqnQpzUMpuSs5jx3P56nqcf7CR1Knp4BMdUX3CLupA1Au6f9H4un+y4cj+BkCOgkzkuDwQLJhg1Y+q/sl5Cp5//+RyqjBCik8U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705436225; c=relaxed/simple; bh=6GtAdZ5f/wO1CemX36DB9KBOJ5JWAjkUXodTfkB2RtI=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=u7aKEO8rYGunkT5nLGHBnlerwPBf1ZjBrnHouQlmZaZMI5O+3B+0zUoqSZbcl1+vGP+BNm6B85JSXZ5snFrhfsycncl0urbOE59smNPeTrFqbmR/Y6MMA+h32Y505FQOqV8xJyLoieGrA5+QAJOUYJ1nMrcilUPvu9JgwRa6URg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.114.79]) by dellerweb.de (Postfix) with ESMTPSA id B5E9F160002E; Tue, 16 Jan 2024 21:17:01 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id D8EB622011C; Tue, 16 Jan 2024 20:16:54 +0000 (UTC) Date: Tue, 16 Jan 2024 20:16:54 +0000 From: John David Anglin To: GCC Patches Subject: [committed] Skip various cmp-mem-const tests on lp64 hppa*-*-* Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, 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 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: 1788279531888898342 X-GMAIL-MSGID: 1788279531888898342 Tested on hppa64-hp-hpux11.11. Committed to trunk. Dave --- Skip various cmp-mem-const tests on lp64 hppa*-*-* Prior optimization already reduced the constant. 2024-01-16 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/cmp-mem-const-3.c: Skip on lp64 hppa*-*-*. * gcc.dg/cmp-mem-const-4.c: Likewise. * gcc.dg/cmp-mem-const-5.c: Likewise. * gcc.dg/cmp-mem-const-6.c: Likewise. diff --git a/gcc/testsuite/gcc.dg/cmp-mem-const-3.c b/gcc/testsuite/gcc.dg/cmp-mem-const-3.c index c60ecdb4026..5469f10712e 100644 --- a/gcc/testsuite/gcc.dg/cmp-mem-const-3.c +++ b/gcc/testsuite/gcc.dg/cmp-mem-const-3.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target { lp64 && { ! sparc*-*-* } } } } */ +/* { dg-do compile { target { lp64 && { ! { sparc*-*-* hppa*-*-* } } } } } */ /* Excluding sparc since there we do not end up with a comparison of memory and a constant which means that the optimization is not applicable. */ /* { dg-options "-O2 -fdump-rtl-combine-details" } */ diff --git a/gcc/testsuite/gcc.dg/cmp-mem-const-4.c b/gcc/testsuite/gcc.dg/cmp-mem-const-4.c index 7aa403d76d9..9ea094e20eb 100644 --- a/gcc/testsuite/gcc.dg/cmp-mem-const-4.c +++ b/gcc/testsuite/gcc.dg/cmp-mem-const-4.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target { lp64 && { ! sparc*-*-* } } } } */ +/* { dg-do compile { target { lp64 && { ! { sparc*-*-* hppa*-*-* } } } } } */ /* Excluding sparc since there we do not end up with a comparison of memory and a constant which means that the optimization is not applicable. */ /* { dg-options "-O2 -fdump-rtl-combine-details" } */ diff --git a/gcc/testsuite/gcc.dg/cmp-mem-const-5.c b/gcc/testsuite/gcc.dg/cmp-mem-const-5.c index 4316dcb5605..5a9096ef84d 100644 --- a/gcc/testsuite/gcc.dg/cmp-mem-const-5.c +++ b/gcc/testsuite/gcc.dg/cmp-mem-const-5.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target { lp64 && { ! sparc*-*-* } } } } */ +/* { dg-do compile { target { lp64 && { ! { sparc*-*-* hppa*-*-* } } } } } */ /* Excluding sparc since there a prior optimization already reduced the constant, i.e., nothing left for us. */ /* { dg-options "-O2 -fdump-rtl-combine-details" } */ diff --git a/gcc/testsuite/gcc.dg/cmp-mem-const-6.c b/gcc/testsuite/gcc.dg/cmp-mem-const-6.c index d9046af79eb..381195361e0 100644 --- a/gcc/testsuite/gcc.dg/cmp-mem-const-6.c +++ b/gcc/testsuite/gcc.dg/cmp-mem-const-6.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target { lp64 && { ! sparc*-*-* } } } } */ +/* { dg-do compile { target { lp64 && { ! { sparc*-*-* hppa*-*-* } } } } } */ /* Excluding sparc since there a prior optimization already reduced the constant, i.e., nothing left for us. */ /* { dg-options "-O2 -fdump-rtl-combine-details" } */