glibc/sysdeps/ieee754
Adhemerval Zanella 5c2b21c478 powerpc: Remove modff optimization
The generic implementation is slight more optimized than the powerpc
one, where it has a more optimized inf/nan check (by not using FP
unit checks, along with branch prediction hints), and removed one
branch by issuing trunc instead of a combination of floor/ceil (which
also generated less code).

On power10 with gcc 14.2.1:

reciprocal-throughput        master        patch        difference
workload-0_1                 1.5210       1.3942             8.34%
workload-1_maxint            2.0926       1.3940            33.38%
workload-maxint_maxfloat     1.7851       1.3940            21.91%
workload-integral            1.5216       1.3941             8.37%

latency                      master        patch        difference
workload-0_1                 1.5928       2.6337           -65.35%
workload-1_maxint            3.2929       2.6337            20.02%
workload-maxint_maxfloat     1.9697       2.6341           -33.73%
workload-integral            2.0597       2.6337           -27.87%

Checked on powerpc64le-linux-gnu.
Reviewed-by: Sachin Monga <smonga@linux.ibm.com>
2025-06-25 15:05:30 -03:00
..
dbl-64 math: Simplify and optimize modf implementation 2025-06-18 15:56:40 -03:00
float128
flt-32 powerpc: Remove modff optimization 2025-06-25 15:05:30 -03:00
ldbl-64-128
ldbl-96 stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
ldbl-128 ldbl-128: also disable lgammaf128_r builtin when building lgammal_r 2025-05-21 14:11:50 +02:00
ldbl-128ibm stdio-common: Reject real data w/o exponent digits in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
ldbl-128ibm-compat Implement C23 rootn. 2025-05-14 10:51:46 +00:00
ldbl-opt Fix typos in ldbl-opt makefile 2025-05-20 12:42:54 +02:00
soft-fp
Makefile
ieee754.h
k_standard.c
k_standardf.c
k_standardl.c
libm-alias-finite.h
s_lib_version.c
s_matherr.c
s_signgam.c