about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-22 08:06:46 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-22 08:06:58 -0700
commit5c7adbd8eded546eb6e17a82f5ab3b35def47f38 (patch)
tree028268e2e0619f90ed85bd1444421ab7ceabb3ff /sysdeps/generic
parent0ccc7153ccd8fbecefb0793a65cd5a85cdb099fc (diff)
downloadglibc-5c7adbd8eded546eb6e17a82f5ab3b35def47f38.tar.gz
glibc-5c7adbd8eded546eb6e17a82f5ab3b35def47f38.tar.xz
glibc-5c7adbd8eded546eb6e17a82f5ab3b35def47f38.zip
x86-64: Add log2f with FMA
For workload-spec2017.wrf, on Skylake, it improves performance by:

                           Before            After     Improvement
reciprocal-throughput      16.5937          14.0789       17%
latency                    41.7755          35.3586       18%

	* sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
	Add e_log2f-fma.
	(CFLAGS-e_log2f-fma.c): New.
	* sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
	* sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
Diffstat (limited to 'sysdeps/generic')
0 files changed, 0 insertions, 0 deletions