Message ID | 20231106072004.3002543-1-guojiufu@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:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2489798vqu; Sun, 5 Nov 2023 23:20:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGtIAtcGp7yWHSWXIKUozxXgAUKQFLS8QXYn/fuSGII9t0AmEWwHbScq2lEP++UQ050nVWt X-Received: by 2002:a05:6214:f6e:b0:66d:61c5:8717 with SMTP id iy14-20020a0562140f6e00b0066d61c58717mr44586375qvb.1.1699255241604; Sun, 05 Nov 2023 23:20:41 -0800 (PST) Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id y17-20020ad445b1000000b0065afa9743aesi5315205qvu.460.2023.11.05.23.20.41 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 23:20:41 -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; dkim=fail header.i=@ibm.com header.s=pp1 header.b=ljDwAtgY; arc=fail (signature failed); 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"; dmarc=fail (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5FDD5385841D for <ouuuleilei@gmail.com>; Mon, 6 Nov 2023 07:20:41 +0000 (GMT) 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 57D8D3858D28; Mon, 6 Nov 2023 07:20:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 57D8D3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 57D8D3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699255217; cv=none; b=j/RYi0OKxzlx1Dk0D2T+O3ZShZZQEguI2WHN1LS48s4lvX2bEvOzx1j/O23iCswLWlwCtlXgTd1nVwLSfab0Jakyl9LuDfYJpy+D8umSmBgTKq1AN21CINF7hf/nFrLPxNz7LuYdHQW2CS4FjS3qa+sXYi79Ic8l8oq+sMzwj8U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699255217; c=relaxed/simple; bh=TgGHRUHdGbNkXF1Iv5ESb0uiDTcirewVRlJ6zVSLcIo=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=pCFeiYbB5/ci029Oiueyg3QtIFgB1X5lyjMvPvTO5FsLnU9nEw4zRVr+AnOX/i+QpIjvP1maaCKAsuJrF9MxO783ewlYHp/NWdlDWraJgdku1gJjIq9nbMpKGIKTkmU1U5tiTBxMi8eERYTB80iOfhvFW10LkUdmXA+Kz/i6o8Q= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A67GOlk026892; Mon, 6 Nov 2023 07:20:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pp1; bh=hamBEouxGxTCRRZQVSUaj2rLH29bjUsCHOnMMuV+MFk=; b=ljDwAtgYfm8CM+zRhA8eU9V4zZnTw6rbozfTfQzPlgdkW1F+3ghwtduOWCtUDaoSeAcr fqHbVW4qLy4tWa5hdDWP+Qk99PNINd/1fKAh8cuxRw24B+oZ5n42ebJuj8nU3GJPs2AP /RiObGpU3FyaVYJ6SF9X+ic9EMSnGRu1omGYFRX20j+evU0KoxYOWnXhJX7KrZ0SAZc5 bXiJV+FpUg2bfrTUpUBm8r7pfJP5TgiFFB4Xe8dKLsrj8QiwiB0I186ZfX22+Datnpqn X+xazp1Y6PnBcs1QGUt1EcikFWDiTTjGJ4B3DnikQuMsMTy1C9M0MqESelpLctwn7SWg nw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u6u401a4m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Nov 2023 07:20:14 +0000 Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3A67GVan027726; Mon, 6 Nov 2023 07:20:14 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u6u401a47-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Nov 2023 07:20:14 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3A66WAaN028251; Mon, 6 Nov 2023 07:20:13 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3u62gjq9ay-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Nov 2023 07:20:13 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3A67K9vj24904344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 6 Nov 2023 07:20:09 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B97F62004D; Mon, 6 Nov 2023 07:20:06 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A02E420040; Mon, 6 Nov 2023 07:20:05 +0000 (GMT) Received: from genoa.aus.stglabs.ibm.com (unknown [9.40.192.157]) by smtpav01.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 6 Nov 2023 07:20:05 +0000 (GMT) From: Jiufu Guo <guojiufu@linux.ibm.com> To: gcc-patches@gcc.gnu.org Cc: segher@kernel.crashing.org, dje.gcc@gmail.com, linkw@gcc.gnu.org, bergner@linux.ibm.com, guojiufu@linux.ibm.com Subject: [PATCH] rs6000, testcase: Add require-effective-target has_arch_ppc64 to pr106550_1.c Date: Mon, 6 Nov 2023 15:20:04 +0800 Message-Id: <20231106072004.3002543-1-guojiufu@linux.ibm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: yjNj80EeZ0Hngnp-5sgaR3EZzHxCkzUH X-Proofpoint-GUID: SvADDAUSp9sjguPEy_vLm_buAFay2BVV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-06_05,2023-11-02_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxlogscore=656 adultscore=0 mlxscore=0 phishscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2311060062 X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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.30 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> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781798263951685445 X-GMAIL-MSGID: 1781798263951685445 |
Series |
rs6000, testcase: Add require-effective-target has_arch_ppc64 to pr106550_1.c
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Jiufu Guo
Nov. 6, 2023, 7:20 a.m. UTC
Hi, With latest trunk, case pr106550_1.c can run with failure on ppc under -m32. While, the case is testing 64bit constant building. So, "has_arch_ppc64" is required. Test pass on ppc64{,le}. BR, Jeff (Jiufu Guo) gcc/testsuite/ChangeLog: * gcc.target/powerpc/pr106550_1.c: Add has_arch_ppc64 target require. --- gcc/testsuite/gcc.target/powerpc/pr106550_1.c | 1 + 1 file changed, 1 insertion(+)
Comments
Hi, on 2023/11/6 15:20, Jiufu Guo wrote: > Hi, > > With latest trunk, case pr106550_1.c can run with failure on ppc under -m32. > While, the case is testing 64bit constant building. So, "has_arch_ppc64" > is required. Please also mention that it failed with ICE initially due to PR111971, now that PR got fixed so this omission is exposed. > > Test pass on ppc64{,le}. > > BR, > Jeff (Jiufu Guo) > > gcc/testsuite/ChangeLog: > There is PR112340, need a corresponding PR marker line. OK for trunk with these nits tweaked, thanks! BR, Kewen > * gcc.target/powerpc/pr106550_1.c: Add has_arch_ppc64 target require. > > --- > gcc/testsuite/gcc.target/powerpc/pr106550_1.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c > index 7e709fcf9d8..5ab40d71a56 100644 > --- a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c > +++ b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c > @@ -1,5 +1,6 @@ > /* PR target/106550 */ > /* { dg-require-effective-target power10_ok } */ > +/* { dg-require-effective-target has_arch_ppc64 } */ > /* { dg-options "-O2 -mdejagnu-cpu=power10 -fdisable-rtl-split1" } */ > /* force the constant splitter run after RA: -fdisable-rtl-split1. */ >
Hi, "Kewen.Lin" <linkw@linux.ibm.com> writes: > Hi, > > on 2023/11/6 15:20, Jiufu Guo wrote: >> Hi, >> >> With latest trunk, case pr106550_1.c can run with failure on ppc under -m32. >> While, the case is testing 64bit constant building. So, "has_arch_ppc64" >> is required. > > Please also mention that it failed with ICE initially due to PR111971, now > that PR got fixed so this omission is exposed. Thanks! > >> >> Test pass on ppc64{,le}. >> >> BR, >> Jeff (Jiufu Guo) >> >> gcc/testsuite/ChangeLog: >> > > There is PR112340, need a corresponding PR marker line. Yeap! Thanks for pointing out this! > > OK for trunk with these nits tweaked, thanks! Committed via r14-5184. BR, Jeff (Jiufu Guo) > > BR, > Kewen > >> * gcc.target/powerpc/pr106550_1.c: Add has_arch_ppc64 target require. >> >> --- >> gcc/testsuite/gcc.target/powerpc/pr106550_1.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c >> index 7e709fcf9d8..5ab40d71a56 100644 >> --- a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c >> +++ b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c >> @@ -1,5 +1,6 @@ >> /* PR target/106550 */ >> /* { dg-require-effective-target power10_ok } */ >> +/* { dg-require-effective-target has_arch_ppc64 } */ >> /* { dg-options "-O2 -mdejagnu-cpu=power10 -fdisable-rtl-split1" } */ >> /* force the constant splitter run after RA: -fdisable-rtl-split1. */ >>
diff --git a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c index 7e709fcf9d8..5ab40d71a56 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr106550_1.c +++ b/gcc/testsuite/gcc.target/powerpc/pr106550_1.c @@ -1,5 +1,6 @@ /* PR target/106550 */ /* { dg-require-effective-target power10_ok } */ +/* { dg-require-effective-target has_arch_ppc64 } */ /* { dg-options "-O2 -mdejagnu-cpu=power10 -fdisable-rtl-split1" } */ /* force the constant splitter run after RA: -fdisable-rtl-split1. */