about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-10-13 22:27:03 -0400
committerUlrich Drepper <drepper@gmail.com>2010-10-13 22:27:03 -0400
commit5e908464b9603e9cd95047d2edd00de5f78fedaf (patch)
tree1f526248f31bee031ce4c92d9b1b2e857d6b671b /sysdeps/i386
parentf90681487d90a6eea8f1c60021bc8dd83313c59b (diff)
downloadglibc-5e908464b9603e9cd95047d2edd00de5f78fedaf.tar.gz
glibc-5e908464b9603e9cd95047d2edd00de5f78fedaf.tar.xz
glibc-5e908464b9603e9cd95047d2edd00de5f78fedaf.zip
Implement accurate fma.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/fpu/bits/mathinline.h6
-rw-r--r--sysdeps/i386/i686/multiarch/s_fma.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h
index 8005997520..666ec2bc25 100644
--- a/sysdeps/i386/fpu/bits/mathinline.h
+++ b/sysdeps/i386/fpu/bits/mathinline.h
@@ -1,6 +1,6 @@
 /* Inline math functions for i387.
-   Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2003,2004,2006,2007,2009
-   Free Software Foundation, Inc.
+   Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2003,2004,2006,2007,2009,
+   2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by John C. Bowman <bowman@math.ualberta.ca>, 1995.
 
@@ -657,8 +657,6 @@ __NTH (ldexpl (long double __x, int __y))
   __ldexp_code;
 }
 
-__inline_mathcodeNP3 (fma, __x, __y, __z, return (__x * __y) + __z)
-
 __inline_mathopNP (rint, "frndint")
 # endif /* __FAST_MATH__ */
 
diff --git a/sysdeps/i386/i686/multiarch/s_fma.c b/sysdeps/i386/i686/multiarch/s_fma.c
index d9291b0be8..2373caabc4 100644
--- a/sysdeps/i386/i686/multiarch/s_fma.c
+++ b/sysdeps/i386/i686/multiarch/s_fma.c
@@ -33,4 +33,4 @@ weak_alias (__fma, fma)
 # define __fma __fma_ia32
 #endif
 
-#include <math/s_fma.c>
+#include <sysdeps/ieee754/ldbl-96/s_fma.c>