Message ID | c7e61083e9a2a8154a18a6c4ffe22ae8751ad3f0.camel@us.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 b10csp1279293vqo; Thu, 13 Apr 2023 12:43:25 -0700 (PDT) X-Google-Smtp-Source: AKy350Zo9eqdgoxNQW3WeY73bpgKBgXPyfF+dEQYHNsRR/AZOICVbETW6deVUqIY0hyUbLxaa8bB X-Received: by 2002:a17:906:9254:b0:94a:86dc:3a13 with SMTP id c20-20020a170906925400b0094a86dc3a13mr4104738ejx.75.1681415005439; Thu, 13 Apr 2023 12:43:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681415005; cv=none; d=google.com; s=arc-20160816; b=f3j0tVHTJOno3wfSSkZdOD2jQSomCL72GozVSZhZwbx3DmaVwgLagdZLXsLnFOgHcY UspEtnmTj02W8fMEbSIC3v0u2VD3/CkMbf5rLL5kugLZstytYHKK4kTp9b6iC85HVpu2 eOdiJW3pj/FjwiS/xNbEr302UUpeygVwxCIyxby4qa5varpIe9V6oXz84UmpI//j8dcF 2qqIfnjKEzJkjWdVyAmnRDL6pDk4HLBkTtbh8KVxcAIbXqu0sHoybuCP4KWLSPpwDwQV VjubfojiT8ssr5JRjauPqWrmr5vptFHj+rUe96htcW97W/cdB4vrV5EuWEVOpZ01bzd9 /N+A== 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:mime-version:date:cc:to:subject :message-id:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=HtcnuFWSl5zaTun4I4W0Pmtfnismo1h4KlsFLdPx+KM=; b=NWQjtQJTMsEutiSLO1kX4zNAc1RRIdF2efms51xaSyT84kyWAGpbZWLLo3ih/DjFe7 92egb+gBXuvi5sIS0fEnK9LLFwB3vSmqzxPBtl3RB4aJ2ZKwFK8IE4zOUi69zHmepdDE tnnBMB+sJsn7OyB+XcXrF1e0dvea7IZ8QAaq7xanUX1YwhCX/+UDsqtkEfopoqKKKAi7 cbqqPy9vutmA1526r97BYkq4eQQhMHqk/3vfnyJMwIymQMaxqV5g2UP6Rd87UB/CtjoR f1p9FFcmGM+k6MYybLff+SmwAR7Z1EvBVo2uxbG6sMymhH5oTtmXg1bCLdWWf6BiNdS7 mhuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="D/CtAA2H"; 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 (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id d7-20020aa7ce07000000b00505073533efsi2153196edv.284.2023.04.13.12.43.25 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 12:43:25 -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="D/CtAA2H"; 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 4FF913858D20 for <ouuuleilei@gmail.com>; Thu, 13 Apr 2023 19:43:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FF913858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681415004; bh=HtcnuFWSl5zaTun4I4W0Pmtfnismo1h4KlsFLdPx+KM=; h=Subject:To:Cc:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=D/CtAA2HodnHiavF3M9gr+zHdOZUG1IpMGnyru6mDbS/VNbpunuZrwy9ojbScmvlT hla3REQ+PeyXCwejoWrVIJfK4Z23T3EctycEzlXRLrKKKkBelrrXx+HX/GhPOBxNWm YzJpJVDZY4aDh6BUfhHF9fqa2kczXmsG5Bpwp89Y= 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 61A4B3858D20 for <gcc-patches@gcc.gnu.org>; Thu, 13 Apr 2023 19:42:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 61A4B3858D20 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33DJ4lEr027737; Thu, 13 Apr 2023 19:42:39 GMT Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3pxjn0r03b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Apr 2023 19:42:38 +0000 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 33DGiVW1013537; Thu, 13 Apr 2023 19:42:37 GMT Received: from smtprelay07.wdc07v.mail.ibm.com ([9.208.129.116]) by ppma01wdc.us.ibm.com (PPS) with ESMTPS id 3pu0m6w5ma-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Apr 2023 19:42:37 +0000 Received: from smtpav03.dal12v.mail.ibm.com (smtpav03.dal12v.mail.ibm.com [10.241.53.102]) by smtprelay07.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 33DJgZ0t15467142 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Apr 2023 19:42:35 GMT Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7D07B5803F; Thu, 13 Apr 2023 19:42:35 +0000 (GMT) Received: from smtpav03.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 20FF658061; Thu, 13 Apr 2023 19:42:35 +0000 (GMT) Received: from li-e362e14c-2378-11b2-a85c-87d605f3c641.ibm.com (unknown [9.211.150.219]) by smtpav03.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 13 Apr 2023 19:42:35 +0000 (GMT) Message-ID: <c7e61083e9a2a8154a18a6c4ffe22ae8751ad3f0.camel@us.ibm.com> Subject: [PATCH] rs6000: Fix test gc.target/powerpc/rs600-fpint.c test options To: gcc-patches@gcc.gnu.org, Segher Boessenkool <segher@kernel.crashing.org> Cc: cel@us.ibm.com, Peter Bergner <bergner@linux.ibm.com> Date: Thu, 13 Apr 2023 12:42:34 -0700 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: TWjzrraNTM5YJEpMy3oq0V39AnoggMll X-Proofpoint-GUID: TWjzrraNTM5YJEpMy3oq0V39AnoggMll 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-13_14,2023-04-13_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 priorityscore=1501 bulkscore=0 adultscore=0 mlxlogscore=862 malwarescore=0 spamscore=0 mlxscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304130174 X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, 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: Carl Love via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Carl Love <cel@us.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?1763091420530623625?= X-GMAIL-MSGID: =?utf-8?q?1763091420530623625?= |
Series |
rs6000: Fix test gc.target/powerpc/rs600-fpint.c test options
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Carl Love
April 13, 2023, 7:42 p.m. UTC
GCC maintainers: The following patch fixes the dg-options for test powerpc/rs600- fpint.c. The test now works correctly on Power 10. The patch has been tested on Power10 with no regressions. Please let me know if the patch is acceptable for mainline. Thanks. Carl --------------------------------- rs6000: Fix test gc.target/powerpc/rs600-fpint.c test options The test compile option rs6000-*-* is outdated and no longer supported. The powerpc*-*-* is the defualt, so it doesn't need to be specified. The dg-options needs to specify an older processor to get the desired behavior on recent processors. This patch updates the test specifications so the test will run properly on Power10LE. Tested on Power10 LE system with no regression test failures. gcc/testsuite/: * gcc.target/powerpc/rs6000-fpint.c: Update dg-options, drop dg-do compile specifier. --- gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Comments
Hi Carl, on 2023/4/14 03:42, Carl Love via Gcc-patches wrote: > > GCC maintainers: > > The following patch fixes the dg-options for test powerpc/rs600- > fpint.c. The test now works correctly on Power 10. The patch has been > tested on Power10 with no regressions. > > Please let me know if the patch is acceptable for mainline. Thanks. OK for trunk with one more comment added in commit log ... > > Carl > > --------------------------------- > rs6000: Fix test gc.target/powerpc/rs600-fpint.c test options > > The test compile option rs6000-*-* is outdated and no longer supported. > The powerpc*-*-* is the defualt, so it doesn't need to be specified. > The dg-options needs to specify an older processor to get the desired > behavior on recent processors. ... such as: ", since gfxopt is only off for very old CPUs, we don't guard stfiwx under it for recent processors and don't want to." Thanks for fixing! BR, Kewen > > This patch updates the test specifications so the test will run properly on > Power10LE. Tested on Power10 LE system with no regression test failures. > > gcc/testsuite/: > * gcc.target/powerpc/rs6000-fpint.c: Update dg-options, drop dg-do > compile specifier. > --- > gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c b/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c > index 410f780de8b..fdb0a371929 100644 > --- a/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c > +++ b/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c > @@ -1,5 +1,4 @@ > -/* { dg-do compile { target powerpc*-*-* rs6000-*-* } } */ > -/* { dg-options "-mno-powerpc-gfxopt" } */ > +/* { dg-options "-mno-powerpc-gfxopt -mdejagnu-cpu=power6" } */ > /* { dg-final { scan-assembler-not "stfiwx" } } */ > > /* A basic test of the old-style (not stfiwx) fp -> int conversion. */
diff --git a/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c b/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c index 410f780de8b..fdb0a371929 100644 --- a/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c +++ b/gcc/testsuite/gcc.target/powerpc/rs6000-fpint.c @@ -1,5 +1,4 @@ -/* { dg-do compile { target powerpc*-*-* rs6000-*-* } } */ -/* { dg-options "-mno-powerpc-gfxopt" } */ +/* { dg-options "-mno-powerpc-gfxopt -mdejagnu-cpu=power6" } */ /* { dg-final { scan-assembler-not "stfiwx" } } */ /* A basic test of the old-style (not stfiwx) fp -> int conversion. */