Re: [PATCH] libgfortran: Provide some further math library fallbacks [PR94694]

2020-04-22 Thread Jeff Law via Gcc-patches
On Wed, 2020-04-22 at 16:42 +0200, Jakub Jelinek via Gcc-patches wrote: > Hi! > > The following patch provides some further math library fallbacks. > fmaf can be implemented using fma if available, fma and fmal can use > x * y + z as fallback, it is not perfect, but e.g. glibc on various arches >

[PATCH] libgfortran: Provide some further math library fallbacks [PR94694]

2020-04-22 Thread Jakub Jelinek via Gcc-patches
Hi! The following patch provides some further math library fallbacks. fmaf can be implemented using fma if available, fma and fmal can use x * y + z as fallback, it is not perfect, but e.g. glibc on various arches has been using that as fallback for many years, and copysign/copysignl/fabs/fabsl ca