Message ID | 7eaa2f21-b126-a2a5-97fe-a30eafb72bde@linux.ibm.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp104817vqo; Wed, 19 Apr 2023 23:05:46 -0700 (PDT) X-Google-Smtp-Source: AKy350aL6YyHCRHbgxDmTcL1TbWiM7OaO+AcEoo5yN48IiUn5M3M/OCA4JZCChOEsQjSipUN4lSb X-Received: by 2002:a17:906:80da:b0:951:756d:653c with SMTP id a26-20020a17090680da00b00951756d653cmr443549ejx.39.1681970746415; Wed, 19 Apr 2023 23:05:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681970746; cv=none; d=google.com; s=arc-20160816; b=ktccAxIXGfEkKIBlqfe2x0ae1kXJRsX9Mn2i/R5ExUNmXyb8XlVWq9MLtVcHy74ZEw cqWJp11JBV7gyrc453bxh0GHvQcuJQpjEYVfcmAIvUXVVDAb3r17vkqpd0XPvMs4CpIr 75YMtG/4SqoF38xHsHr6f9e+HZF/PU0+u18FRt8Q76cOQkxe2h0lFc8UaO7tI9BVsvEe Gdt9fRyX2T6Hej57wTSdb8ZvbhgZrMz+HPdHjSxeUc2p71UqbCiVPbiBOUWhXo2CoVXm HW4fopzjJeKN1VWiTvl6yVUQ/fu/sEdHirolCoitt93mIz0fGxhHP+zDegVK3mUFCLX9 1Zdw== 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 :content-transfer-encoding:cc:subject:to:content-language:user-agent :mime-version:date:message-id:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=Lm3UyMQ6AHvuD9H/hNkSa66fPWKoR6cwAQiv5NBjBKs=; b=e+Tp33iH/lfcBY6ORjFJC7lOFacMS0QAiJVbM5ohogd0BqJcarUTXN6x8cO/0vh39t q4kGy17eucA+hOPsHMJ/9ehBhxNHqCX4UFxYSDwkSNXAaHjbFInu/15f0dFymAUwMWuL y1kRBIeahsnFkg2U4BNUs5TCAKGGxfyImV0Q23tk2ZM1tdY1nD4YIoJf9LU15a90ljnU QRzrbtX3+WgUXJLzIEBkjDv2fB0fzkdTUnZzRxF7FQ/3PQvvvE2eYIdVS5vbJZm4ojoN vJr6HxvB96h7wZIIc/6G1E3/MnUbOLxw1fE/n+H26yw/m140Z9Oetm7tsp5LzKlD8xEa i/CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=P+KcKdVw; 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 sf5-20020a1709078a8500b0094ed093b836si747146ejc.1054.2023.04.19.23.05.46 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 23:05:46 -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; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=P+KcKdVw; 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 42D56385842D for <ouuuleilei@gmail.com>; Thu, 20 Apr 2023 06:05:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 42D56385842D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681970735; bh=Lm3UyMQ6AHvuD9H/hNkSa66fPWKoR6cwAQiv5NBjBKs=; h=Date:To:Subject:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=P+KcKdVwrRd/r5Xz7c451RZRiFh26xZBLlsL1C6zlEut4Mos/bEE/uvVX9U6U0HQD 66knwWOuSNBg6pjnxP8q5dbbAGBf7lbzL2V+PXEObBAOilq4/Rx6WVT9sTKYIcpXsY RSFJBABRFEszjxE5ZBMcyOdcZtdVlSSgbd7IZNbk= 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 6D0653858421 for <gcc-patches@gcc.gnu.org>; Thu, 20 Apr 2023 06:04:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D0653858421 Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33K4MZko023879; Thu, 20 Apr 2023 06:04:49 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3q20scv5em-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Apr 2023 06:04:48 +0000 Received: from m0353727.ppops.net (m0353727.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 33K62Yw7028935; Thu, 20 Apr 2023 06:04:48 GMT Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3q20scv5dn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Apr 2023 06:04:48 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 33K1KYOv028914; Thu, 20 Apr 2023 06:04:45 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma06fra.de.ibm.com (PPS) with ESMTPS id 3pyk6fjm9n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Apr 2023 06:04:45 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 33K64f8x1245898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Apr 2023 06:04:41 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6F4DC20040; Thu, 20 Apr 2023 06:04:41 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E8DB920043; Thu, 20 Apr 2023 06:04:39 +0000 (GMT) Received: from [9.200.145.81] (unknown [9.200.145.81]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 20 Apr 2023 06:04:39 +0000 (GMT) Message-ID: <7eaa2f21-b126-a2a5-97fe-a30eafb72bde@linux.ibm.com> Date: Thu, 20 Apr 2023 14:04:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US To: gcc-patches <gcc-patches@gcc.gnu.org> Subject: [PATCH 2/1, rs6000] make ppc_cpu_supports_hw as effective target keyword [PR108728] Cc: Segher Boessenkool <segher@kernel.crashing.org>, David <dje.gcc@gmail.com>, "Kewen.Lin" <linkw@linux.ibm.com>, Peter Bergner <bergner@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 5zgRJq0XZVASDHS_nA_WbgdClbSOrMw8 X-Proofpoint-ORIG-GUID: GUy03ry27bEvmL0CnlLTKpE2Gj044-pm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-20_02,2023-04-18_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 mlxlogscore=844 spamscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 clxscore=1015 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304200048 X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, 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.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: HAO CHEN GUI via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: HAO CHEN GUI <guihaoc@linux.ibm.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?1763674157470366415?= X-GMAIL-MSGID: =?utf-8?q?1763674157470366415?= |
Series |
None
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
HAO CHEN GUI
April 20, 2023, 6:04 a.m. UTC
Hi, This patch adds ppc_cpu_supports_hw into explicit name checking in proc is-effective-target-keyword. So ppc_cpu_supports_hw can be used as a target selector in test directives. It's required by patch2 of this issue. Thanks Gui Haochen ChangeLog testsuite: make ppc_cpu_supports_hw as effective target keyword [PR108728] gcc/testsuite/ PR target/108728 * lib/target-supports.exp (is-effective-target-keyword): Add ppc_cpu_supports_hw. patch.diff
Comments
Hi, on 2023/4/20 14:04, HAO CHEN GUI wrote: > Hi, > This patch adds ppc_cpu_supports_hw into explicit name checking in > proc is-effective-target-keyword. So ppc_cpu_supports_hw can be used > as a target selector in test directives. It's required by patch2 of > this issue. OK for trunk, thanks! BR, Kewen > > Thanks > Gui Haochen > > ChangeLog > testsuite: make ppc_cpu_supports_hw as effective target keyword [PR108728] > > gcc/testsuite/ > PR target/108728 > * lib/target-supports.exp (is-effective-target-keyword): Add > ppc_cpu_supports_hw. > > > patch.diff > diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp > index 1d6cc6f8d88..e65b447663f 100644 > --- a/gcc/testsuite/lib/target-supports.exp > +++ b/gcc/testsuite/lib/target-supports.exp > @@ -9170,6 +9170,7 @@ proc is-effective-target-keyword { arg } { > "named_sections" { return 1 } > "gc_sections" { return 1 } > "cxa_atexit" { return 1 } > + "ppc_cpu_supports_hw" { return 1 } > default { return 0 } > } > }
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 1d6cc6f8d88..e65b447663f 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -9170,6 +9170,7 @@ proc is-effective-target-keyword { arg } { "named_sections" { return 1 } "gc_sections" { return 1 } "cxa_atexit" { return 1 } + "ppc_cpu_supports_hw" { return 1 } default { return 0 } } }