From patchwork Mon Sep 18 14:47:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Schwinge X-Patchwork-Id: 141439 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2715884vqi; Mon, 18 Sep 2023 07:49:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEQ8o4iPIcnIxwhDxbGKicUAPwwymEuTKeZC2b5+ADH4y+HfzX0RFF6S2r/3in100BN4qZR X-Received: by 2002:a17:906:3142:b0:9a5:a0c6:9e8e with SMTP id e2-20020a170906314200b009a5a0c69e8emr7428433eje.31.1695048561268; Mon, 18 Sep 2023 07:49:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695048561; cv=none; d=google.com; s=arc-20160816; b=BSl0LcFAcsi2LrAohznXM9PS1rgd5d5dze76MaMxMZXpU4xmPdZ+8z3wBrZe54tma/ bhVLjWvBCS9XKYtfZiV1wihildAaHbupZydjcQLDO8GRltGQezwnkLWvEAGe8xH1yDuW bLidTyyYdb3TWZetqPrj0mogG4nOeiLhMB66EudesoQe2L3fJilASN6HoMzQ82D2EOoY VP8K0mxICLjO4AzcpMmk7paGMzlsJhZRdzgQ6tQhb4qLBxYUKj7LXSIINkhB1wcUqp1r M+8jAnj9O7v9cMPVtUH4XuwDb9TsDuhdn/i99v111AWmrNyxTLZCUDJl9eWWfMvP9YkH w5hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:message-id:date :user-agent:references:in-reply-to:subject:cc:to:from:ironport-sdr :dmarc-filter:delivered-to; bh=mAP11mQbuDv2yfDhX2rWL3BMwdA9SUGjtIjLHM9Coa4=; fh=D1APGTtJ+dNG9eGrFXyYE4Lj32SxhJNYLvgW0uSUrpY=; b=u3GsEsbAMQCD/PT/6jVJzC3eEe6o/nWwGzDVR3siMbE3cIlYy4Tvlgf+KWQ6t5tgWT djbyoIUxyPtsvkNp/WoRioLk3Zq9ze2x0io+ZD47BdU9+OVJeuaPJ7evL2hlAfghkjYf IafPt2Nf9HpgQ2cXEQhsMoDGy46P7qdyRTiisYgnhcyDWV5o1pvtk0WhYQCnNj7BNH0h Cju875enM9/CiJZxq+l4HMeY7AQcK6Q0xJnhUq7wE3N78YhNK/cd4188vilORVh9vPQf aKcEGq28Z5jfmpPhzdIumz2V6nb4q1YX0i2vYBPtTBtgg9fW4s5bsSRLAg98xsO88ZXY MoVw== ARC-Authentication-Results: i=1; mx.google.com; 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 a20-20020a1709065f9400b009a198536ab3si8071574eju.1032.2023.09.18.07.49.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 07:49:21 -0700 (PDT) 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; 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 3E09B386BFDA for ; Mon, 18 Sep 2023 14:47:57 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id DC5F93853D06 for ; Mon, 18 Sep 2023 14:47:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DC5F93853D06 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-CSE-ConnectionGUID: 3pbT9B9XQNCQgow9NDMj3Q== X-CSE-MsgGUID: ltaXrnUhRJq5vqc0l10qZg== X-IronPort-AV: E=Sophos;i="6.02,156,1688457600"; d="scan'208,223";a="19227953" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 18 Sep 2023 06:47:29 -0800 IronPort-SDR: 716A3Cwz2QtsIWGD5qpBU4KQXzcVPHckTZcJb7yLjA8ZvWnVVH0p9L3Gy80AFmbVZSGtKXWDUg B6JYVfpMPjAGCe3sK/m+vMEktN1/JCP8J0FTygvbQYn6uh6MPugdNl3LbDzZpoktlfuVCAQgVJ CCcAI98SNwadVaBCwRISwseJ0LxVdiZT8/NBFF9TEgoW086KmVgl3RQ9pYIWS3GGfXx6N206NW Ds0+kQtlwvnk36kFWI0NoXm/Kj4IE8enyepFZiT1rt58nyiCaJV7yXAbPBQBhhztSlMk1CNp4a JBg= From: Thomas Schwinge To: CC: Tom de Vries Subject: Move 'g++.dg/abi/nvptx-[...].C' -> 'g++.target/nvptx/abi-[...].C' (was: [PTX] parameters and return values) In-Reply-To: <566F1AD6.9040604@acm.org> References: <566F1AD6.9040604@acm.org> User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/28.2 (x86_64-pc-linux-gnu) Date: Mon, 18 Sep 2023 16:47:22 +0200 Message-ID: <878r93y1vp.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-14.mgc.mentorg.com (139.181.222.14) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, 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 Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777387240311075573 X-GMAIL-MSGID: 1777387240311075573 Hi! On 2015-12-14T14:39:02-0500, Nathan Sidwell wrote: > This patch [...] > Added a bunch of C and C++ testcases. Yay! \o/ > gcc/testsuite/ > * g++.dg/abi/nvptx-nrv1.C: New. > * g++.dg/abi/nvptx-ptrmem1.C: New. Pushed to master branch commit 0db533114235539199f6698d8d52c5101107567e "Move 'g++.dg/abi/nvptx-[...].C' -> 'g++.target/nvptx/abi-[...].C'", see attached. Grüße Thomas > * gcc.target/nvptx/abi-complex-arg.c: New. > * gcc.target/nvptx/abi-complex-ret.c: New. > * gcc.target/nvptx/abi-enum-arg.c: New. > * gcc.target/nvptx/abi-enum-ret.c: New. > * gcc.target/nvptx/abi-knr-arg.c: New. > * gcc.target/nvptx/abi-knr-ret.c: New. > * gcc.target/nvptx/abi-scalar-arg.c: New. > * gcc.target/nvptx/abi-scalar-ret.c: New. > * gcc.target/nvptx/abi-struct-arg.c: New. > * gcc.target/nvptx/abi-struct-ret.c: New. > * gcc.target/nvptx/abi-vararg-1.c: New. > * gcc.target/nvptx/abi-vararg-2.c: New. > * gcc.target/nvptx/abi-vect-arg.c: New. > * gcc.target/nvptx/abi-vect-ret.c: New. ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 From 0db533114235539199f6698d8d52c5101107567e Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 18 Sep 2023 16:36:24 +0200 Subject: [PATCH] Move 'g++.dg/abi/nvptx-[...].C' -> 'g++.target/nvptx/abi-[...].C' ... instead of burying these nvptx-specific test cases within the generic ones. gcc/testsuite/ * g++.dg/abi/nvptx-nrv1.C: Move... * g++.target/nvptx/abi-nrv1.C: ... here. * g++.dg/abi/nvptx-ptrmem1.C: Move... * g++.target/nvptx/abi-ptrmem1.C: ... here. --- .../{g++.dg/abi/nvptx-nrv1.C => g++.target/nvptx/abi-nrv1.C} | 2 +- .../abi/nvptx-ptrmem1.C => g++.target/nvptx/abi-ptrmem1.C} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename gcc/testsuite/{g++.dg/abi/nvptx-nrv1.C => g++.target/nvptx/abi-nrv1.C} (97%) rename gcc/testsuite/{g++.dg/abi/nvptx-ptrmem1.C => g++.target/nvptx/abi-ptrmem1.C} (96%) diff --git a/gcc/testsuite/g++.dg/abi/nvptx-nrv1.C b/gcc/testsuite/g++.target/nvptx/abi-nrv1.C similarity index 97% rename from gcc/testsuite/g++.dg/abi/nvptx-nrv1.C rename to gcc/testsuite/g++.target/nvptx/abi-nrv1.C index 6a05b4fc4c5..019d23ac29d 100644 --- a/gcc/testsuite/g++.dg/abi/nvptx-nrv1.C +++ b/gcc/testsuite/g++.target/nvptx/abi-nrv1.C @@ -1,4 +1,4 @@ -// { dg-do compile { target nvptx-*-* } } +// { dg-do compile } // { dg-additional-options "-m64" } // Check NRV optimization doesn't change the PTX prototypes. diff --git a/gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C b/gcc/testsuite/g++.target/nvptx/abi-ptrmem1.C similarity index 96% rename from gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C rename to gcc/testsuite/g++.target/nvptx/abi-ptrmem1.C index 0c57f29fa21..346baaf9d60 100644 --- a/gcc/testsuite/g++.dg/abi/nvptx-ptrmem1.C +++ b/gcc/testsuite/g++.target/nvptx/abi-ptrmem1.C @@ -1,4 +1,4 @@ -// { dg-do compile { target nvptx-*-* } } +// { dg-do compile } // { dg-additional-options "-m64" } // ptr to member data is like sizeof. -- 2.34.1