mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
6089a3ee24
This patch replaces i386 assembly versions of e_log2f with generic e_log2f.c. For workload-spec2017.wrf, on Nehalem, it improves performance by: Before After Improvement reciprocal-throughput 92.3845 30.8752 199% latency 112.855 54.8645 105% On Skylake, it improves performance by: Before After Improvement reciprocal-throughput 98.7488 22.7507 334% latency 118.01 51.6083 128% On IvyBridge with --disable-multi-arch, it improves performance by: Before After Improvement reciprocal-throughput 106.635 28.8596 269% latency 129.888 56.9187 128% * sysdeps/i386/fpu/e_log2f.S: Removed. * sysdeps/i386/fpu/e_log2f_data.c: Likewise. * sysdeps/i386/fpu/w_log2f.c: Likewise. * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines): Add e_log2f-sse2. (CFLAGS-e_log2f-sse2.c): New. * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file. * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise. |
||
---|---|---|
.. | ||
fpu | ||
multiarch | ||
nptl | ||
add_n.S | ||
bcopy.S | ||
bzero.S | ||
dl-hash.h | ||
ffs.c | ||
hp-timing.h | ||
init-arch.h | ||
Makefile | ||
memcmp.S | ||
memcpy.S | ||
memmove.S | ||
mempcpy.S | ||
memset.S | ||
memusage.h | ||
pthread_spin_trylock.S | ||
stack-aliasing.h | ||
strcmp.S | ||
tst-stack-align.h |