x86-64: Add logf with FMA
commit0ccc7153ccd8fbecefb0793a65cd5a85cdb099fc
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Oct 2017 15:03:46 +0000 (22 08:03 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Oct 2017 15:05:15 +0000 (22 08:05 -0700)
treee1e3035d3f0048d9b822ce6a4c9128f90ce5e946
parentfe596486d694e657413d0d4c5a04598674ff71b1
x86-64: Add logf with FMA

For workload-spec2017.wrf, on Skylake, it improves performance by:

                           Before            After     Improvement
reciprocal-throughput      16.1534          13.8874       16%
latency                    41.9642          34.3072       22%

* sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
Add e_logf-fma.
(CFLAGS-e_logf-fma.c): New.
* sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
* sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
ChangeLog
sysdeps/x86_64/fpu/multiarch/Makefile
sysdeps/x86_64/fpu/multiarch/e_logf-fma.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/e_logf.c [new file with mode: 0644]