From patchwork Mon Apr 18 16:49:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Clarke" X-Patchwork-Id: 1618473 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=inICa4G8; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KhtJg2dMZz9sG6 for ; Tue, 19 Apr 2022 02:52:19 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7CBCD3858427 for ; Mon, 18 Apr 2022 16:52:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7CBCD3858427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1650300737; bh=NIlUpqpYtu2/cHrZhTU3zzkaDtZvK2F/2cX7Ym5CsxE=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=inICa4G8pwW3AlE0F/8R5XGvaarwzUTcPHIkN0mvSpsNME6yX6TFE6GY67VMWUU56 rg4e6Wk1zZ9NyOdw+CphcC2CYVMygcVMAQ781MPeFsPgRqkUOqdKVZxV2aROUmsyk3 OWwJ+waeNjQdeuVWoGbosc0EQgt5bGdkBho6K6UA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id C1DF73858C52 for ; Mon, 18 Apr 2022 16:49:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C1DF73858C52 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 23IENIIt024649; Mon, 18 Apr 2022 16:49:34 GMT Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0a-001b2d01.pphosted.com with ESMTP id 3fg7bt15jw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Apr 2022 16:49:34 +0000 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23IGmrZl008927; Mon, 18 Apr 2022 16:49:33 GMT Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by ppma04wdc.us.ibm.com with ESMTP id 3ffne9yahr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Apr 2022 16:49:33 +0000 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23IGnWXA25625030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 18 Apr 2022 16:49:32 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C5B22124053; Mon, 18 Apr 2022 16:49:32 +0000 (GMT) Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9B457124052; Mon, 18 Apr 2022 16:49:32 +0000 (GMT) Received: from localhost (unknown [9.77.158.43]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 18 Apr 2022 16:49:32 +0000 (GMT) To: segher@kernel.crashing.org, gcc-patches@gcc.gnu.org Subject: [PATCH v2 1/2] rs6000: Move g++.dg powerpc PR tests to g++.target Date: Mon, 18 Apr 2022 11:49:27 -0500 Message-Id: <20220418164928.414093-2-pc@us.ibm.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220418164928.414093-1-pc@us.ibm.com> References: <20220418164928.414093-1-pc@us.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: F-UHQPKOgDeyL5Y8LOK4iW_SMh4jatTY X-Proofpoint-ORIG-GUID: F-UHQPKOgDeyL5Y8LOK4iW_SMh4jatTY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-18_02,2022-04-15_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 suspectscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 clxscore=1015 spamscore=0 adultscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204180097 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: , X-Patchwork-Original-From: "Paul A. Clarke via Gcc-patches" From: "Paul A. Clarke" Reply-To: "Paul A. Clarke" Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Also adjust DejaGnu directives, as specifically requiring "powerpc*-*-*" is no longer required. 2021-04-18 Paul A. Clarke gcc/testsuite * g++.dg/pr65240.h: Move to g++.target/powerpc. * g++.dg/pr93974.C: Likewise. * g++.dg/pr65240-1.C: Move to g++.target/powerpc, adjust dg directives. * g++.dg/pr65240-2.C: Likewise. * g++.dg/pr65240-3.C: Likewise. * g++.dg/pr65240-4.C: Likewise. * g++.dg/pr65242.C: Likewise. * g++.dg/pr67211.C: Likewise. * g++.dg/pr69667.C: Likewise. * g++.dg/pr71294.C: Likewise. * g++.dg/pr84264.C: Likewise. * g++.dg/pr84279.C: Likewise. * g++.dg/pr85657.C: Likewise. --- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-1.C | 4 ++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-2.C | 4 ++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-3.C | 4 ++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-4.C | 4 ++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240.h | 0 gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65242.C | 4 ++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr67211.C | 4 ++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr69667.C | 4 ++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr71294.C | 2 +- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr84264.C | 2 +- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr84279.C | 4 ++-- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr85657.C | 2 +- gcc/testsuite/{g++.dg => g++.target/powerpc}/pr93974.C | 0 13 files changed, 19 insertions(+), 19 deletions(-) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-1.C (71%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-2.C (71%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-3.C (70%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240-4.C (68%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65240.h (100%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr65242.C (93%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr67211.C (91%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr69667.C (97%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr71294.C (96%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr84264.C (79%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr84279.C (90%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr85657.C (90%) rename gcc/testsuite/{g++.dg => g++.target/powerpc}/pr93974.C (100%) diff --git a/gcc/testsuite/g++.dg/pr65240-1.C b/gcc/testsuite/g++.target/powerpc/pr65240-1.C similarity index 71% rename from gcc/testsuite/g++.dg/pr65240-1.C rename to gcc/testsuite/g++.target/powerpc/pr65240-1.C index ff8910df6a1a..f735a1f7834a 100644 --- a/gcc/testsuite/g++.dg/pr65240-1.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-1.C @@ -1,5 +1,5 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=small -mno-fp-in-toc -Wno-return-type" } */ diff --git a/gcc/testsuite/g++.dg/pr65240-2.C b/gcc/testsuite/g++.target/powerpc/pr65240-2.C similarity index 71% rename from gcc/testsuite/g++.dg/pr65240-2.C rename to gcc/testsuite/g++.target/powerpc/pr65240-2.C index bdb7a62d73d2..e201e3a74d71 100644 --- a/gcc/testsuite/g++.dg/pr65240-2.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-2.C @@ -1,5 +1,5 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=small -mfp-in-toc -Wno-return-type" } */ diff --git a/gcc/testsuite/g++.dg/pr65240-3.C b/gcc/testsuite/g++.target/powerpc/pr65240-3.C similarity index 70% rename from gcc/testsuite/g++.dg/pr65240-3.C rename to gcc/testsuite/g++.target/powerpc/pr65240-3.C index f37db9025d12..0821f68a5cf9 100644 --- a/gcc/testsuite/g++.dg/pr65240-3.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-3.C @@ -1,5 +1,5 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=medium -Wno-return-type" } */ diff --git a/gcc/testsuite/g++.dg/pr65240-4.C b/gcc/testsuite/g++.target/powerpc/pr65240-4.C similarity index 68% rename from gcc/testsuite/g++.dg/pr65240-4.C rename to gcc/testsuite/g++.target/powerpc/pr65240-4.C index efb6a6c06e7c..92d31acb20d9 100644 --- a/gcc/testsuite/g++.dg/pr65240-4.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-4.C @@ -1,5 +1,5 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mdejagnu-cpu=power7 -O3 -ffast-math -Wno-return-type" } */ diff --git a/gcc/testsuite/g++.dg/pr65240.h b/gcc/testsuite/g++.target/powerpc/pr65240.h similarity index 100% rename from gcc/testsuite/g++.dg/pr65240.h rename to gcc/testsuite/g++.target/powerpc/pr65240.h diff --git a/gcc/testsuite/g++.dg/pr65242.C b/gcc/testsuite/g++.target/powerpc/pr65242.C similarity index 93% rename from gcc/testsuite/g++.dg/pr65242.C rename to gcc/testsuite/g++.target/powerpc/pr65242.C index 662f375015f2..b2984d1d6083 100644 --- a/gcc/testsuite/g++.dg/pr65242.C +++ b/gcc/testsuite/g++.target/powerpc/pr65242.C @@ -1,5 +1,5 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -O3" } */ diff --git a/gcc/testsuite/g++.dg/pr67211.C b/gcc/testsuite/g++.target/powerpc/pr67211.C similarity index 91% rename from gcc/testsuite/g++.dg/pr67211.C rename to gcc/testsuite/g++.target/powerpc/pr67211.C index ac241818ab5b..b58c08234272 100644 --- a/gcc/testsuite/g++.dg/pr67211.C +++ b/gcc/testsuite/g++.target/powerpc/pr67211.C @@ -1,5 +1,5 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power7 -mdejagnu-tune=power8 -O3 -w" } */ diff --git a/gcc/testsuite/g++.dg/pr69667.C b/gcc/testsuite/g++.target/powerpc/pr69667.C similarity index 97% rename from gcc/testsuite/g++.dg/pr69667.C rename to gcc/testsuite/g++.target/powerpc/pr69667.C index 422116dd5995..6a12a3363e98 100644 --- a/gcc/testsuite/g++.dg/pr69667.C +++ b/gcc/testsuite/g++.target/powerpc/pr69667.C @@ -1,5 +1,5 @@ -/* { dg-do compile { target { powerpc*-*-* && lp64 } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile { target lp64 } } */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -w -std=c++14" } */ diff --git a/gcc/testsuite/g++.dg/pr71294.C b/gcc/testsuite/g++.target/powerpc/pr71294.C similarity index 96% rename from gcc/testsuite/g++.dg/pr71294.C rename to gcc/testsuite/g++.target/powerpc/pr71294.C index 716fa0d44b20..1da1e327a285 100644 --- a/gcc/testsuite/g++.dg/pr71294.C +++ b/gcc/testsuite/g++.target/powerpc/pr71294.C @@ -1,4 +1,4 @@ -// { dg-do compile { target { powerpc64*-*-* && lp64 } } } +// { dg-do compile { target lp64 } } // { dg-require-effective-target powerpc_p8vector_ok } */ // { dg-options "-mdejagnu-cpu=power8 -O3 -fstack-protector" } diff --git a/gcc/testsuite/g++.dg/pr84264.C b/gcc/testsuite/g++.target/powerpc/pr84264.C similarity index 79% rename from gcc/testsuite/g++.dg/pr84264.C rename to gcc/testsuite/g++.target/powerpc/pr84264.C index 4f8a77d8ac41..c9968cf66aa7 100644 --- a/gcc/testsuite/g++.dg/pr84264.C +++ b/gcc/testsuite/g++.target/powerpc/pr84264.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target { powerpc*-*-* } } } */ +/* { dg-do compile } */ /* { dg-options "-w -O1 -fstack-protector-strong" } */ void _setjmp (); diff --git a/gcc/testsuite/g++.dg/pr84279.C b/gcc/testsuite/g++.target/powerpc/pr84279.C similarity index 90% rename from gcc/testsuite/g++.dg/pr84279.C rename to gcc/testsuite/g++.target/powerpc/pr84279.C index e78201c30dbe..02632420744a 100644 --- a/gcc/testsuite/g++.dg/pr84279.C +++ b/gcc/testsuite/g++.target/powerpc/pr84279.C @@ -1,5 +1,5 @@ -/* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-skip-if "" { powerpc*-*-darwin* } } */ +/* { dg-do compile } */ +/* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-require-effective-target fpic } */ /* { dg-options "-O3 -mdejagnu-cpu=power8 -g -fPIC -fvisibility=hidden -fstack-protector-strong" } */ diff --git a/gcc/testsuite/g++.dg/pr85657.C b/gcc/testsuite/g++.target/powerpc/pr85657.C similarity index 90% rename from gcc/testsuite/g++.dg/pr85657.C rename to gcc/testsuite/g++.target/powerpc/pr85657.C index e62b62abcc5a..3a386542154d 100644 --- a/gcc/testsuite/g++.dg/pr85657.C +++ b/gcc/testsuite/g++.target/powerpc/pr85657.C @@ -1,4 +1,4 @@ -// { dg-do compile { target { powerpc*-*-linux* } } } +// { dg-do compile { target { *-*-linux* } } } // { dg-require-effective-target ppc_float128_sw } // { dg-options "-mvsx -mfloat128 -O2 -mabi=ibmlongdouble -Wno-psabi" } diff --git a/gcc/testsuite/g++.dg/pr93974.C b/gcc/testsuite/g++.target/powerpc/pr93974.C similarity index 100% rename from gcc/testsuite/g++.dg/pr93974.C rename to gcc/testsuite/g++.target/powerpc/pr93974.C From patchwork Mon Apr 18 16:49:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Clarke" X-Patchwork-Id: 1618464 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=pkileJ7f; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KhtHZ43Ptz9sG6 for ; Tue, 19 Apr 2022 02:51:22 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 76D723857C46 for ; Mon, 18 Apr 2022 16:51:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76D723857C46 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1650300680; bh=QnzQAa81GPomLfY0HFuDCoGEh2ivkt2Nct0ySRhBtFc=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=pkileJ7f5r49VxQnEd43YApKqAWOr1O7Xo13otD6sBdtuj0a6lLtDu1dSOpe5XBYk CkGitrc6UGxvLdvPeRKYT+ZewUTlT/8XM+e3JxsxVPMkLtu2G58S6/9H7vk3eduhEi yak/zOQBJCPWHeeoATWpPj24jOTfM9vvuIa2m5Dk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 1E0F4385780D for ; Mon, 18 Apr 2022 16:49:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1E0F4385780D Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 23IGFWN9007067; Mon, 18 Apr 2022 16:49:34 GMT Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0b-001b2d01.pphosted.com with ESMTP id 3fg77j99m1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Apr 2022 16:49:34 +0000 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23IGlTuH016243; Mon, 18 Apr 2022 16:49:34 GMT Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by ppma01wdc.us.ibm.com with ESMTP id 3ffne9ya2t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 18 Apr 2022 16:49:34 +0000 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23IGnXGB24707368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 18 Apr 2022 16:49:33 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 717CBB2066; Mon, 18 Apr 2022 16:49:33 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 461B7B2064; Mon, 18 Apr 2022 16:49:33 +0000 (GMT) Received: from localhost (unknown [9.77.158.43]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Mon, 18 Apr 2022 16:49:33 +0000 (GMT) To: segher@kernel.crashing.org, gcc-patches@gcc.gnu.org Subject: [PATCH v2 2/2] rs6000: Remove a few needless 'lp64' contraints. Date: Mon, 18 Apr 2022 11:49:28 -0500 Message-Id: <20220418164928.414093-3-pc@us.ibm.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220418164928.414093-1-pc@us.ibm.com> References: <20220418164928.414093-1-pc@us.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: RrYxGatgM_swVjnIiWNKFp82OVx4Rgd7 X-Proofpoint-ORIG-GUID: RrYxGatgM_swVjnIiWNKFp82OVx4Rgd7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-18_02,2022-04-15_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 spamscore=0 impostorscore=0 bulkscore=0 adultscore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204180097 X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: , X-Patchwork-Original-From: "Paul A. Clarke via Gcc-patches" From: "Paul A. Clarke" Reply-To: "Paul A. Clarke" Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" A few tests need not be restricted to 'lp64', so remove the restriction. A few of those need a simple change to the DejaGnu directives to suppress '-mcmodel' flags for '-m32'. 2022-04-18 Paul A. Clarke gcc/testsuite * g++.target/powerpc/pr65240-1.C: Adjust DejaGnu directives. * g++.target/powerpc/pr65240-2.C: Likewise. * g++.target/powerpc/pr65240-3.C: Likewise. * g++.target/powerpc/pr65240-4.C: Likewise. * g++.target/powerpc/pr65242.C: Likewise. * g++.target/powerpc/pr67211.C: Likewise. * g++.target/powerpc/pr69667.C: Likewise. * g++.target/powerpc/pr71294.C: Likewise. --- gcc/testsuite/g++.target/powerpc/pr65240-1.C | 5 +++-- gcc/testsuite/g++.target/powerpc/pr65240-2.C | 5 +++-- gcc/testsuite/g++.target/powerpc/pr65240-3.C | 5 +++-- gcc/testsuite/g++.target/powerpc/pr65240-4.C | 3 ++- gcc/testsuite/g++.target/powerpc/pr65242.C | 3 ++- gcc/testsuite/g++.target/powerpc/pr67211.C | 3 ++- gcc/testsuite/g++.target/powerpc/pr69667.C | 3 ++- gcc/testsuite/g++.target/powerpc/pr71294.C | 2 +- 8 files changed, 18 insertions(+), 11 deletions(-) diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-1.C b/gcc/testsuite/g++.target/powerpc/pr65240-1.C index f735a1f7834a..40682d5fe857 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-1.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-1.C @@ -1,7 +1,8 @@ -/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=small -mno-fp-in-toc -Wno-return-type" } */ +/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mno-fp-in-toc -Wno-return-type" } */ +/* { dg-additional-options "-mcmodel=small" { target lp64 } } */ /* target/65240, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-2.C b/gcc/testsuite/g++.target/powerpc/pr65240-2.C index e201e3a74d71..4e4a1c2bb897 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-2.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-2.C @@ -1,7 +1,8 @@ -/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=small -mfp-in-toc -Wno-return-type" } */ +/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mfp-in-toc -Wno-return-type" } */ +/* { dg-additional-options "-mcmodel=small" { target lp64 } } */ /* target/65240, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-3.C b/gcc/testsuite/g++.target/powerpc/pr65240-3.C index 0821f68a5cf9..6acd278cab50 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-3.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-3.C @@ -1,7 +1,8 @@ -/* { dg-do compile { target lp64 } } */ +/* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ -/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -mcmodel=medium -Wno-return-type" } */ +/* { dg-options "-mdejagnu-cpu=power8 -O3 -ffast-math -Wno-return-type" } */ +/* { dg-additional-options "-mcmodel=medium" { target lp64 } } */ /* target/65240, compiler got a 'insn does not satisfy its constraints' error. */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65240-4.C b/gcc/testsuite/g++.target/powerpc/pr65240-4.C index 92d31acb20d9..57f2c769a3f3 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65240-4.C +++ b/gcc/testsuite/g++.target/powerpc/pr65240-4.C @@ -1,4 +1,5 @@ -/* { dg-do compile { target lp64 } } */ +/* { dg-do compile } */ +/* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-options "-mdejagnu-cpu=power7 -O3 -ffast-math -Wno-return-type" } */ diff --git a/gcc/testsuite/g++.target/powerpc/pr65242.C b/gcc/testsuite/g++.target/powerpc/pr65242.C index b2984d1d6083..64ca67e246f8 100644 --- a/gcc/testsuite/g++.target/powerpc/pr65242.C +++ b/gcc/testsuite/g++.target/powerpc/pr65242.C @@ -1,4 +1,5 @@ -/* { dg-do compile { target lp64 } } */ +/* { dg-do compile } */ +/* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -O3" } */ diff --git a/gcc/testsuite/g++.target/powerpc/pr67211.C b/gcc/testsuite/g++.target/powerpc/pr67211.C index b58c08234272..946802e44cde 100644 --- a/gcc/testsuite/g++.target/powerpc/pr67211.C +++ b/gcc/testsuite/g++.target/powerpc/pr67211.C @@ -1,4 +1,5 @@ -/* { dg-do compile { target lp64 } } */ +/* { dg-do compile } */ +/* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power7 -mdejagnu-tune=power8 -O3 -w" } */ diff --git a/gcc/testsuite/g++.target/powerpc/pr69667.C b/gcc/testsuite/g++.target/powerpc/pr69667.C index 6a12a3363e98..7527611f334f 100644 --- a/gcc/testsuite/g++.target/powerpc/pr69667.C +++ b/gcc/testsuite/g++.target/powerpc/pr69667.C @@ -1,4 +1,5 @@ -/* { dg-do compile { target lp64 } } */ +/* { dg-do compile } */ +/* Never tested on darwin, so skip there. */ /* { dg-skip-if "" { *-*-darwin* } } */ /* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-options "-mdejagnu-cpu=power8 -w -std=c++14" } */ diff --git a/gcc/testsuite/g++.target/powerpc/pr71294.C b/gcc/testsuite/g++.target/powerpc/pr71294.C index 1da1e327a285..50ced56cdf6a 100644 --- a/gcc/testsuite/g++.target/powerpc/pr71294.C +++ b/gcc/testsuite/g++.target/powerpc/pr71294.C @@ -1,4 +1,4 @@ -// { dg-do compile { target lp64 } } +// { dg-do compile } // { dg-require-effective-target powerpc_p8vector_ok } */ // { dg-options "-mdejagnu-cpu=power8 -O3 -fstack-protector" }