From 5e908464b9603e9cd95047d2edd00de5f78fedaf Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 13 Oct 2010 22:27:03 -0400 Subject: Implement accurate fma. --- sysdeps/i386/fpu/bits/mathinline.h | 6 ++---- sysdeps/i386/i686/multiarch/s_fma.c | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'sysdeps/i386') 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 , 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 +#include -- cgit 1.4.1