]> sourceware.org Git - glibc.git/commit
x86-64: Add log2f with FMA
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Oct 2017 15:06:46 +0000 (08:06 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Oct 2017 15:06:58 +0000 (08:06 -0700)
commit5c7adbd8eded546eb6e17a82f5ab3b35def47f38
tree028268e2e0619f90ed85bd1444421ab7ceabb3ff
parent0ccc7153ccd8fbecefb0793a65cd5a85cdb099fc
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.
ChangeLog
sysdeps/x86_64/fpu/multiarch/Makefile
sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/e_log2f.c [new file with mode: 0644]
This page took 0.044086 seconds and 5 git commands to generate.