diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-07-29 15:26:06 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-07-29 15:26:06 -0700 |
commit | 78c4ef475d47a2289635f74b726f52defedb4651 (patch) | |
tree | 60375b37da7613577b26a3dc08105fbecbe24266 /ChangeLog | |
parent | 9a1d2d455540ff99a586da5b550cc768f4f6fd5c (diff) | |
download | glibc-78c4ef475d47a2289635f74b726f52defedb4651.tar glibc-78c4ef475d47a2289635f74b726f52defedb4651.tar.gz glibc-78c4ef475d47a2289635f74b726f52defedb4651.tar.bz2 glibc-78c4ef475d47a2289635f74b726f52defedb4651.zip |
Add support for x86-64 fma instruction.
Use it to implement fma and fmaf, if possible.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -1,5 +1,19 @@ 2009-07-29 Ulrich Drepper <drepper@redhat.com> + * math/s_fma.c: Don't define alias if __fma is a macro. + * math/s_fmaf.c: Likewise. + * sysdeps/x86_64/multiarch/s_fma.c: New file. + * sysdeps/x86_64/multiarch/s_fmaf.c: New file. + Partially based on a patch by H.J. Lu <hongjiu.lu@intel.com>. + + * sysdeps/x86_64/multiarch/init-arch.h (__get_cpu_features): Declare. + (HAS_POPCOUNT, HAS_SSE4_2): Add variants which work outside libc. + New macro HAS_FMA. + * sysdeps/x86_64/multiarch/init-arch.c (__get_cpu_features): New + function. + * include/libc-symbols.h (libm_ifunc): Define. + * sysdeps/x86_64/multiarch/Versions: New file. + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Improve CFI. 2009-07-28 H.J. Lu <hongjiu.lu@intel.com> |