From patchwork Mon Apr 6 19:12:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. Murphy" X-Patchwork-Id: 38755 Return-Path: X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 15816385DC3B for ; Mon, 6 Apr 2020 19:12:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 15816385DC3B Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 036J8iEK014797 for ; Mon, 6 Apr 2020 15:12:40 -0400 Received: from ppma05wdc.us.ibm.com (1b.90.2fa9.ip4.static.sl-reverse.com [169.47.144.27]) by mx0b-001b2d01.pphosted.com with ESMTP id 3082f1pu1f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 Apr 2020 15:12:40 -0400 Received: from pps.filterd (ppma05wdc.us.ibm.com [127.0.0.1]) by ppma05wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 036JBmLx012227 for ; Mon, 6 Apr 2020 19:12:40 GMT Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by ppma05wdc.us.ibm.com with ESMTP id 306hv6acbs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 Apr 2020 19:12:40 +0000 Received: from b01ledav004.gho.pok.ibm.com (b01ledav004.gho.pok.ibm.com [9.57.199.109]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 036JCdFj45810158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 6 Apr 2020 19:12:39 GMT Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C47E3112063 for ; Mon, 6 Apr 2020 19:12:39 +0000 (GMT) Received: from b01ledav004.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 943E4112064 for ; Mon, 6 Apr 2020 19:12:39 +0000 (GMT) Received: from brokenarrow.ibmuc.com (unknown [9.85.183.58]) by b01ledav004.gho.pok.ibm.com (Postfix) with ESMTP for ; Mon, 6 Apr 2020 19:12:39 +0000 (GMT) From: "Paul E. Murphy" To: libc-alpha@sourceware.org Subject: [PATCH v3 0/6] IEEE binary128 long double on powerpc64le Date: Mon, 6 Apr 2020 14:12:33 -0500 Message-Id: X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-06_09:2020-04-06, 2020-04-06 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxscore=0 spamscore=0 clxscore=1015 malwarescore=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004060145 X-Spam-Status: No, score=-13.9 required=5.0 tests=BAYES_00, GIT_PATCH_3, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2020 19:12:44 -0000 New for V3: Cleanup patch to enforce GCC 7.4. Originally it was GCC 7.3. The fix for __builtin_signbit(long double) arrived in 7.4. Cleanup C++ workaround for some GCC 9 compilers, and confirmed it is a GCC 9 compiler bug fixed between 9.2 and 9.3. Tested with GCC {7.4, 8.3, 9.3} x {ppc64le, power8, power9}. See for start of v2 thread. Gabriel F. T. Gomes (1): powerpc64le: Enable support for IEEE long double Paul E. Murphy (5): ldbl-128ibm-compat: workaround GCC 9 C++ BZ 90731 Rename __LONG_DOUBLE_USES_FLOAT128 to __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI powerpc64le: raise GCC requirement to 7.4 for long double transition powerpc64le: bump binutils version requirement to >= 2.26 powerpc64le: blacklist broken GCC compilers (e.g GCC 7.5.0) INSTALL | 10 ++ NEWS | 8 +- argp/argp.h | 2 +- bits/long-double.h | 15 +- elf/tst-addr1.c | 2 +- include/math.h | 6 +- include/monetary.h | 8 + include/printf.h | 8 + include/stdio.h | 16 +- include/stdlib.h | 11 +- include/sys/cdefs.h | 2 +- include/wchar.h | 9 ++ libio/bits/stdio-ldbl.h | 4 +- libio/stdio.h | 8 +- manual/install.texi | 9 ++ math/complex.h | 4 +- math/math.h | 12 +- math/test-ldouble.h | 2 +- misc/err.h | 2 +- misc/error.h | 2 +- misc/sys/cdefs.h | 4 +- misc/sys/syslog.h | 2 +- stdio-common/printf.h | 2 +- stdio-common/tst-vfprintf-user-type.c | 2 +- stdlib/bits/stdlib-ldbl.h | 2 +- stdlib/monetary.h | 2 +- stdlib/stdlib.h | 2 +- sysdeps/ieee754/ldbl-128/bits/long-double.h | 2 +- sysdeps/ieee754/ldbl-128ibm-compat/Makefile | 12 -- .../ldbl-128ibm-compat/bits/long-double.h | 7 +- .../ieee754/ldbl-128ibm-compat/math_ldbl.h | 2 +- .../ieee754/ldbl-128ibm/bits/iscanonical.h | 2 +- sysdeps/ieee754/ldbl-128ibm/ieee754.h | 6 +- .../ldbl-128ibm/include/bits/iscanonical.h | 2 +- sysdeps/ieee754/ldbl-96/bits/long-double.h | 2 +- sysdeps/ieee754/ldbl-opt/bits/long-double.h | 2 +- sysdeps/mips/ieee754/bits/long-double.h | 2 +- sysdeps/powerpc/fpu/libm-test-ulps | 4 + sysdeps/powerpc/powerpc64/le/Implies-before | 1 + sysdeps/powerpc/powerpc64/le/Makefile | 4 + sysdeps/powerpc/powerpc64/le/configure | 151 ++++++++++++++++++ sysdeps/powerpc/powerpc64/le/configure.ac | 56 +++++++ .../powerpc64/le/ldbl-128ibm-compat-abi.h | 8 + .../linux/powerpc/powerpc64/le/libc.abilist | 93 +++++++++++ .../linux/powerpc/powerpc64/le/libm.abilist | 117 ++++++++++++++ .../linux/sparc/sparc32/bits/long-double.h | 2 +- .../linux/sparc/sparc64/bits/long-double.h | 2 +- wcsmbs/bits/wchar-ldbl.h | 4 +- wcsmbs/wchar.h | 8 +- 49 files changed, 573 insertions(+), 72 deletions(-) create mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/ldbl-128ibm-compat-abi.h