Re: [PATCH v4] Fix for powerpc64 long double complex divide failure

2021-08-26 Thread Patrick McGehearty via Gcc-patches
I will prepare a patch without the changes to .../rs6000/_divkc3.c but I have no way of testing it to confirm it fixes the original complaint. On 8/26/2021 5:09 PM, Joseph Myers wrote: On Thu, 26 Aug 2021, Patrick McGehearty via Gcc-patches wrote: The revision retains the use of

Re: [PATCH v4] Fix for powerpc64 long double complex divide failure

2021-08-26 Thread Joseph Myers
On Thu, 26 Aug 2021, Patrick McGehearty via Gcc-patches wrote: > The revision retains the use of __LIBGCC_DF_* in .../rs6000/_divkc3.c > instead of __LIBGCC_KF_* since some older but still supported environments > do not recognize the KF floating point mode properly. This change has a That part

[PATCH v4] Fix for powerpc64 long double complex divide failure

2021-08-26 Thread Patrick McGehearty via Gcc-patches
The v4 revision adds a test in libgcc/libgcc2.c for when "__LIBGCC_TF_MANT_DIG__ == 106" to use __LIBGCC_DF_EPSILON__ instead of __LIBGCC_TF_EPSILON__. That is specific to IBM 128-bit format long doubles where EPSILON is very, very small and 1/EPSILON oveflows to infinity. This change avoids the