From 1c09524e4db3efd797ebcfcd8241bdb78f0b06f0 Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Wed, 6 Jun 2018 12:27:39 -0300 Subject: powerpc64le: Fix TFtype in sqrtf128 when using -mabi=ieeelongdouble When building with -mlong-double-128 or -mabi=ibmlongdouble, TFtype represents the IBM 128-bit extended floating point type, while KFtype represents the IEEE 128-bit floating point type. The soft float implementation of e_sqrtf128 had to redefine TFtype and TF in order to workaround this issue. However, this behavior changes when -mabi=ieeelongdouble is used and the macros are not necessary. * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype and TF redirection to KFtype and KF only when the default long double type is not the IEEE 128-bit floating point type. Signed-off-by: Tulio Magno Quites Machado Filho --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a3bc2bf31e..b1d694ad0c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-06-06 Tulio Magno Quites Machado Filho + + * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c + [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype + and TF redirection to KFtype and KF only when the default + long double type is not the IEEE 128-bit floating point type. + 2018-06-05 Joseph Myers * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New -- cgit v1.2.3