]> sourceware.org Git - glibc.git/commit
x86-64: Optimize e_expf with FMA [BZ #21912]
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 16 Aug 2017 15:43:35 +0000 (08:43 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 16 Aug 2017 15:43:48 +0000 (08:43 -0700)
commit24a2e6588d2e0c91b4003878b0625d4a9360e8f3
tree11b91098943a676d40fdec100ac8cd3f1ada8a11
parent403143e1df85dadd374f304bd891be0cd7573e3b
x86-64: Optimize e_expf with FMA [BZ #21912]

FMA optimized e_expf improves performance by more than 50% on Skylake.

[BZ #21912]
* sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
Add e_expf-fma.
* sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
* sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
* sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
ChangeLog
sysdeps/x86_64/fpu/multiarch/Makefile
sysdeps/x86_64/fpu/multiarch/e_expf-fma.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/e_expf.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/ifunc-fma.h [new file with mode: 0644]
This page took 0.04226 seconds and 5 git commands to generate.