From efeb2bd1ab49215325040aa53396a2c19dfd1402 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 1 Apr 2022 10:19:57 -0300 Subject: math: Add math-use-builtins-fabs (BZ#29027) Both float, double, and _Float128 are assumed to be supported (float and double already only uses builtins). Only long double is parametrized due GCC bug 29253 which prevents its usage on powerpc. It allows to remove i686, ia64, x86_64, powerpc, and sparc arch specific implementation. On ia64 it also fixes the sNAN handling: math/test-float64x-fabs math/test-ldouble-fabs Checked on x86_64-linux-gnu, i686-linux-gnu, powerpc-linux-gnu, powerpc64-linux-gnu, sparc64-linux-gnu, and ia64-linux-gnu. --- sysdeps/i386/fpu/s_fabsl.S | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 sysdeps/i386/fpu/s_fabsl.S (limited to 'sysdeps/i386/fpu') diff --git a/sysdeps/i386/fpu/s_fabsl.S b/sysdeps/i386/fpu/s_fabsl.S deleted file mode 100644 index 6642ed4151..0000000000 --- a/sysdeps/i386/fpu/s_fabsl.S +++ /dev/null @@ -1,10 +0,0 @@ -#include -#include - - .text -ENTRY(__fabsl) - fldt 4(%esp) - fabs - ret -END(__fabsl) -libm_alias_ldouble (__fabs, fabs) -- cgit v1.2.3