glibc/sysdeps/i386/i686/fpu/multiarch
Adhemerval Zanella edb2a8f0ae math: Use acospif from CORE-MATH
The CORE-MATH implementation is correctly rounded (for any rounding mode)
and shows better performance to the generic acospif.

The code was adapted to glibc style and to use the definition of
math_config.h (to handle errno, overflow, and underflow).

Benchtest on x64_64 (Ryzen 9 5900X, gcc 14.2.1), aarch64 (Neoverse-N1,
gcc 13.3.1), and powerpc (POWER10, gcc 13.2.1):

latency                  master        patched   improvement
x86_64                  54.8281        42.9070        21.74%
x86_64v2                54.1717        42.7497        21.08%
x86_64v3                49.3552        34.1512        30.81%
aarch64 (Neoverse)      17.9395        14.3733        19.88%
power8                  20.3110         8.8609        56.37%
power10                 11.3113        8.84067        21.84%

reciprocal-throughput    master        patched   improvement
x86_64                  21.2301        14.4803        31.79%
x86_64v2                20.6858        13.9506        32.56%
x86_64v3                16.1944        11.3377        29.99%
aarch64 (Neoverse)      11.4474        7.13282        37.69%
power8                  10.6916        3.57547        66.56%
power10                 4.64269        3.54145        23.72%

Reviewed-by: DJ Delorie <dj@redhat.com>
2025-02-12 16:31:57 -03:00
..
Makefile i686: Use generic sincosf implementation for SSE2 version 2022-06-01 10:47:44 -03:00
e_exp2f-sse2.c i386: Replace assembly versions of e_exp2f with generic e_exp2f.c 2017-10-22 08:00:18 -07:00
e_exp2f.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_expf-sse2.c
e_expf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_log2f-sse2.c i386: Replace assembly versions of e_log2f with generic e_log2f.c 2017-10-22 08:10:18 -07:00
e_log2f.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_logf-sse2.c i386: Replace assembly versions of e_logf with generic e_logf.c 2017-10-22 08:02:58 -07:00
e_logf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
e_powf-sse2.c i386: Replace assembly versions of e_powf with generic e_powf.c 2017-10-22 08:12:41 -07:00
e_powf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
libm-test-ulps math: Use acospif from CORE-MATH 2025-02-12 16:31:57 -03:00
libm-test-ulps-name
s_cosf-sse2.c i686: Use generic cosf implementation for SSE2 version 2022-06-01 10:47:44 -03:00
s_cosf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_sincosf-sse2.c i686: Use generic sincosf implementation for SSE2 version 2022-06-01 10:47:44 -03:00
s_sincosf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00
s_sinf-sse2.c i686: Use generic sinf implementation for SSE2 version 2022-06-01 10:47:44 -03:00
s_sinf.c Update copyright dates with scripts/update-copyrights 2025-01-01 11:22:09 -08:00