From patchwork Thu Apr 20 06:04:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: HAO CHEN GUI X-Patchwork-Id: 85732 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp104848vqo; Wed, 19 Apr 2023 23:05:50 -0700 (PDT) X-Google-Smtp-Source: AKy350aksErWcL6h2H6O1kUtBuiA8jvsCeG0OXYmb/Vw9TnlvOir4vdUBOmI1rCnZ7tE4BVVt0n9 X-Received: by 2002:a17:906:4ca:b0:94e:fdec:67e2 with SMTP id g10-20020a17090604ca00b0094efdec67e2mr378702eja.77.1681970750111; Wed, 19 Apr 2023 23:05:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681970750; cv=none; d=google.com; s=arc-20160816; b=f7XxJkU6anXQrdsK0xYeWgLwVrz3Ej9GCtyDGpwtRSvpGlmxzkvc0omg9O8027/KfA nHOIDwsbkOdWljFq5K4iyQKnKXYpJ6IfQTHNGEGZxVyXZAkm+XgCX8uWIugrUsv2Pcu3 fSgCLtJuiOArk06Jp4vDuoN79Xs/iPRtF5JVdEpdJ2tmFjMBbhCOnbra4LZpx3qHHwac mIBr7on/9U5mrw3/foLQEoYWPkp9CAH2W8uLcqVa0WZD553FgwMOg8XUoNZ1gN4dYAJw 7Rpwjpcve+wOwhzo0jq/65H9N6APGKicA44WtlXLitxT7CnYlKn4kAlpGKLEvOzx/cMV QBBg== 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:mime-version :content-transfer-encoding:subject:cc:to:content-language:user-agent :date:message-id:dmarc-filter:delivered-to:dkim-signature :dkim-filter; bh=p+p4kKFrj+qoF1RNQbpnn4BcdC8HkYx43EmnfCX4pcA=; b=syTxo+O5IVc2vaWc4rA19P+GPbzFJDaLbeQ1hxo/ZbRo7HSQMNOiyEQ1VO35Xro/nP S3W+/tvv8pxi92hxRi7UIcuZWsgdepLPSc4cWhQ9DaowRtC2Jr2RsbLxH5cq20JZzemN VeJk6xnsLxeeAO+DT0NVnRUI2zdiA/Al5N/VAZCsDBRv0zw/z0tLiDgl5ru/+GXEOzmY rTf2jRs37HTV2j04+W7ZfoYIL7+M/8azVr9XCUD031W0wklonjFZuOxdl+N/FrieZKDL uxah1yvBoyseZvlYeknMGpsKdSrv5VdMvPSRf3A3OCP1WCjumI/BZV5QQpHpCW4gLEnC uFlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=PJWfsFPs; 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 tc10-20020a1709078d0a00b0094f5f27c745si908701ejc.591.2023.04.19.23.05.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 23:05:50 -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=PJWfsFPs; 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 9CA753856DEC for ; Thu, 20 Apr 2023 06:05:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9CA753856DEC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681970737; bh=p+p4kKFrj+qoF1RNQbpnn4BcdC8HkYx43EmnfCX4pcA=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=PJWfsFPsknOl4fXFREWiHRHMRCzJVYKhinYx3qn9bZU9OEMmRO9a8aKlOAG2mS4Ll d+n8edcL/7sOWlJJXeJrgbVnIlLYU3IO7hSDu7dKUh0HBlY1K3gKprDaFZYTKy4gqY CDsAo5nLHgmgK0qDqje7TyFDDjfQDo6R49gXMypM= 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 5B6623858433 for ; Thu, 20 Apr 2023 06:04:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5B6623858433 Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33K5r4PX018735; Thu, 20 Apr 2023 06:04:52 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3q1pky96tm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Apr 2023 06:04:52 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 33K5kVh2030813; Thu, 20 Apr 2023 06:04:51 GMT Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3q1pky96sf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Apr 2023 06:04:51 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 33K4rV6s000341; Thu, 20 Apr 2023 06:04:49 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma06ams.nl.ibm.com (PPS) with ESMTPS id 3pyk6fk5p2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Apr 2023 06:04:49 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 33K64jtL1442354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Apr 2023 06:04:45 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C16342004E; Thu, 20 Apr 2023 06:04:45 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4334C20040; Thu, 20 Apr 2023 06:04:44 +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:43 +0000 (GMT) Message-ID: Date: Thu, 20 Apr 2023 14:04:44 +0800 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 Cc: Segher Boessenkool , David , "Kewen.Lin" , Peter Bergner Subject: [PATCH 2/2, rs6000] xfail float128 comparison test case that fails on powerpc64 [PR108728] X-TM-AS-GCONF: 00 X-Proofpoint-GUID: WTbGeKF1Jdfxe1oFPHJZV6spbvpHcQIv X-Proofpoint-ORIG-GUID: io7mlLqBcQIZLiIUSloJpaAToxjcHq-U X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 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 suspectscore=0 phishscore=0 priorityscore=1501 mlxlogscore=999 bulkscore=0 mlxscore=0 spamscore=0 impostorscore=0 malwarescore=0 clxscore=1015 adultscore=0 lowpriorityscore=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, KAM_SHORT, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: HAO CHEN GUI via Gcc-patches From: HAO CHEN GUI Reply-To: HAO CHEN GUI Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763674161466680180?= X-GMAIL-MSGID: =?utf-8?q?1763674161466680180?= Hi, This patch xfails a float128 comparison test case on powerpc64 that fails due to a longstanding issue with floating-point compares. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58684 for more information. The patch passed regression test on Power Linux platforms. Thanks Gui Haochen ChangeLog rs6000: xfail float128 comparison test case that fails on powerpc64. This patch xfails a float128 comparison test cases on powerpc64 that fails due to a longstanding issue with floating-point compares. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58684 for more information. When float128 hardware is enabled (-mfloat128-hardware), xscmpuqp is generated for comparison which is unexpected. When float128 software simulation is enabled (-mno-float128-hardware), we still have to xfail the hardware version (__lekf2_hw) which finally invokes xscmpuqp. gcc/testsuite/ PR target/108728 * gcc.dg/torture/float128-cmp-invalid.c: Add xfail. patch.diff diff --git a/gcc/testsuite/gcc.dg/torture/float128-cmp-invalid.c b/gcc/testsuite/gcc.dg/torture/float128-cmp-invalid.c index 1f675efdd61..a86592b3328 100644 --- a/gcc/testsuite/gcc.dg/torture/float128-cmp-invalid.c +++ b/gcc/testsuite/gcc.dg/torture/float128-cmp-invalid.c @@ -1,5 +1,6 @@ /* Test for "invalid" exceptions from __float128 comparisons. */ /* { dg-do run } */ +/* { dg-xfail-run-if "ppc float128_hw" { ppc_float128_hw || { ppc_cpu_supports_hw && p9vector_hw } } } */ /* { dg-options "" } */ /* { dg-require-effective-target __float128 } */ /* { dg-require-effective-target base_quadfloat_support } */