x86-64: Add powf with FMA
commit80bb5935632faf8a8e94daf976340e549be9d4c5
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Oct 2017 15:07:48 +0000 (22 08:07 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 22 Oct 2017 15:08:00 +0000 (22 08:08 -0700)
tree548797b41ae7fcbc7a2025cc0060f7bd8b7da16c
parent5c7adbd8eded546eb6e17a82f5ab3b35def47f38
x86-64: Add powf with FMA

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

                           Before            After     Improvement
reciprocal-throughput      35.4713          27.3842       29%
latency                    82.4537          66.3175       24%

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