From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 16C53384F00D for ; Wed, 11 Jan 2023 20:26:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 16C53384F00D 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 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30BJgBGV013067; Wed, 11 Jan 2023 20:26:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=pp1; bh=j/UypO25PLuSdvnuHkC5q1tGLZcLdMa6Y0oh4XyXMAo=; b=I55h0nmrrb9TMgL9xUG8DTdPjSmGw3PbSkrlI95H6wcMzokDW61f8gHf1R7Qi45vY4pW Fy1QGjeOQtRdA+2kdLmMZLgczPB3yfs9KlJOLlZAaCzYzduHBzp2gjgKyNMy0bFPxh04 MAyVz+tKMN5MZ85JemwV/yitZ9hB6zeGkjq/f2QI8z92ZTqb1GELlCbs0R7vcpkZRgC9 nvgViKMN87xHnmgV6KhwYcmfouoDCuynBT4GdYOz4TnsMIRfLjolgxktPbmMSkAVWz/L kj7GlR9TiqwtnWi+QQcNeOm3CahzykrZwUEdxcdNw4HjtfvPddQSyeh7Ce45dXtQxBf5 dA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3n23gggsk5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 20:26:32 +0000 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 30BJrIgL016403; Wed, 11 Jan 2023 20:26:32 GMT Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3n23gggsjt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 20:26:31 +0000 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 30BJs7ZO019843; Wed, 11 Jan 2023 20:26:30 GMT Received: from smtprelay07.dal12v.mail.ibm.com ([9.208.130.99]) by ppma02dal.us.ibm.com (PPS) with ESMTPS id 3n1k83xat5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 11 Jan 2023 20:26:30 +0000 Received: from smtpav05.wdc07v.mail.ibm.com (smtpav05.wdc07v.mail.ibm.com [10.39.53.232]) by smtprelay07.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 30BKQTvv25362918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 11 Jan 2023 20:26:29 GMT Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2456358053; Wed, 11 Jan 2023 20:26:29 +0000 (GMT) Received: from smtpav05.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0FE9158059; Wed, 11 Jan 2023 20:26:28 +0000 (GMT) Received: from toto.the-meissners.org (unknown [9.160.42.232]) by smtpav05.wdc07v.mail.ibm.com (Postfix) with ESMTPS; Wed, 11 Jan 2023 20:26:27 +0000 (GMT) Date: Wed, 11 Jan 2023 15:26:26 -0500 From: Michael Meissner To: Jakub Jelinek Cc: Michael Meissner , Joseph Myers , Segher Boessenkool , "Kewen.Lin" , GCC Patches , David Edelsohn , Peter Bergner , Richard Biener , Richard Sandiford Subject: Re: [RFC/PATCH] Remove the workaround for _Float128 precision [PR107299] Message-ID: Mail-Followup-To: Michael Meissner , Jakub Jelinek , Joseph Myers , Segher Boessenkool , "Kewen.Lin" , GCC Patches , David Edelsohn , Peter Bergner , Richard Biener , Richard Sandiford References: <718677e7-614d-7977-312d-05a75e1fd5b4@linux.ibm.com> <20221221212407.GU25951@gate.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 9Qagjx4hmX8HBnB5TP9gTGd2v-m6jkGT X-Proofpoint-GUID: 3HMa336FWYz4ei0dMOMboiWMPAO0d9EK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-11_10,2023-01-11_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=510 suspectscore=0 clxscore=1015 priorityscore=1501 mlxscore=0 spamscore=0 phishscore=0 bulkscore=0 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301110148 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,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 List-Id: On Tue, Jan 10, 2023 at 07:23:23PM +0100, Jakub Jelinek wrote: > On Mon, Jan 09, 2023 at 10:21:52PM -0500, Michael Meissner wrote: > > I had the patches to change the precision to 128, and I just ran them. C and > > C++ do not seem to be bothered by changing the precision to 128 (once I got it > > to build, etc.). But Fortran on the other hand does actually use the precision > > to differentiate between IBM extended double and IEEE 128-bit. In particular, > > the following 3 tests fail when long double is IBM extended double: > > > > gfortran.dg/PR100914.f90 > > gfortran.dg/c-interop/typecodes-array-float128.f90 > > gfortran.dg/c-interop/typecodes-scalar-float128.f90 > > > > I tried adding code to use the old precisions for Fortran, but not for C/C++, > > but it didn't seem to work. > > > > So while it might be possible to use a single 128 for the precision, it needs > > more work and attention, particularly on the Fortran side. > > Can't be more than a few lines changed in the fortran FE. > Yes, the FE needs to know if it is IBM extended double or IEEE 128-bit so > that it can decide on the mangling - where to use the artificial kind 17 and > where to use 16. But as long as it can figure that out, it doesn't need to > rely on a particular precision. I agree that in theory it should be simple to fix. Unfortunately the patches that I was working on cause some other failures that I need to investigate. -- Michael Meissner, IBM PO Box 98, Ayer, Massachusetts, USA, 01432 email: meissner@linux.ibm.com