From 5b5b04d6282df0364424c6f2c0462e5c1a4394b0 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sat, 3 Nov 2012 19:48:53 +0000 Subject: Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796). --- ports/ChangeLog.alpha | 3 +++ ports/ChangeLog.am33 | 3 +++ ports/ChangeLog.arm | 2 ++ ports/ChangeLog.hppa | 3 +++ ports/ChangeLog.ia64 | 3 +++ ports/ChangeLog.m68k | 3 +++ ports/ChangeLog.mips | 3 +++ ports/ChangeLog.powerpc | 5 +++++ ports/sysdeps/alpha/fpu/fclrexcpt.c | 3 ++- ports/sysdeps/am33/fpu/fclrexcpt.c | 3 ++- ports/sysdeps/arm/fclrexcpt.c | 1 + ports/sysdeps/hppa/fpu/fclrexcpt.c | 3 ++- ports/sysdeps/ia64/fpu/fclrexcpt.c | 3 ++- ports/sysdeps/m68k/fpu/fclrexcpt.c | 3 ++- ports/sysdeps/mips/fpu/fclrexcpt.c | 3 ++- ports/sysdeps/powerpc/nofpu/fclrexcpt.c | 3 ++- 16 files changed, 40 insertions(+), 7 deletions(-) (limited to 'ports') diff --git a/ports/ChangeLog.alpha b/ports/ChangeLog.alpha index de1837ed7d..ca446c8a89 100644 --- a/ports/ChangeLog.alpha +++ b/ports/ChangeLog.alpha @@ -1,5 +1,8 @@ 2012-11-03 Joseph Myers + * sysdeps/alpha/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_ver. + [BZ #3439] * sysdeps/alpha/fpu/bits/fenv.h (FE_DENORMAL): Define macro to integer constant usable in #if and use that to give value to enum diff --git a/ports/ChangeLog.am33 b/ports/ChangeLog.am33 index c018fbaabf..4e6d40b4c5 100644 --- a/ports/ChangeLog.am33 +++ b/ports/ChangeLog.am33 @@ -1,5 +1,8 @@ 2012-11-03 Joseph Myers + * sysdeps/am33/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_ver. + [BZ #3439] * sysdeps/am33/fpu/bits/fenv.h (FE_INEXACT): Define macro to integer constant usable in #if and use that to give value to enum diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index 54c5cf0392..234883e17a 100644 --- a/ports/ChangeLog.arm +++ b/ports/ChangeLog.arm @@ -1,5 +1,7 @@ 2012-11-03 Joseph Myers + * sysdeps/arm/fclrexcpt.c (feclearexcept): Add libm_hidden_ver. + [BZ #3439] * sysdeps/arm/bits/fenv.h (FE_INVALID): Define macro to integer constant usable in #if and use that to give value to enum diff --git a/ports/ChangeLog.hppa b/ports/ChangeLog.hppa index a5da64a096..3e8d522a07 100644 --- a/ports/ChangeLog.hppa +++ b/ports/ChangeLog.hppa @@ -1,5 +1,8 @@ 2012-11-03 Joseph Myers + * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_def. + [BZ #3439] * sysdeps/hppa/fpu/bits/fenv.h (FE_INVALID): Define macro to integer constant usable in #if and use that to give value to enum diff --git a/ports/ChangeLog.ia64 b/ports/ChangeLog.ia64 index 0d629c613e..0b3361af08 100644 --- a/ports/ChangeLog.ia64 +++ b/ports/ChangeLog.ia64 @@ -1,5 +1,8 @@ 2012-11-03 Joseph Myers + * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_def. + [BZ #3439] * sysdeps/ia64/bits/fenv.h (FE_INEXACT): Define macro to integer constant usable in #if and use that to give value to enum diff --git a/ports/ChangeLog.m68k b/ports/ChangeLog.m68k index 2bc29908a9..206702e1fe 100644 --- a/ports/ChangeLog.m68k +++ b/ports/ChangeLog.m68k @@ -1,5 +1,8 @@ 2012-11-03 Joseph Myers + * sysdeps/m68k/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_ver. + [BZ #3439] * sysdeps/m68k/fpu/bits/fenv.h (FE_INEXACT): Define macro to integer constant usable in #if and use that to give value to enum diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index f0f796a734..548d95e1d4 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,5 +1,8 @@ 2012-11-03 Joseph Myers + * sysdeps/mips/fpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_def. + [BZ #3439] * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define macro to integer constant usable in #if and use that to give value to enum diff --git a/ports/ChangeLog.powerpc b/ports/ChangeLog.powerpc index 758853ed8e..a6fd7821fc 100644 --- a/ports/ChangeLog.powerpc +++ b/ports/ChangeLog.powerpc @@ -1,3 +1,8 @@ +2012-11-03 Joseph Myers + + * sysdeps/powerpc/nofpu/fclrexcpt.c (feclearexcept): Add + libm_hidden_ver. + 2012-10-31 Andreas Schwab * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist: diff --git a/ports/sysdeps/alpha/fpu/fclrexcpt.c b/ports/sysdeps/alpha/fpu/fclrexcpt.c index 2d2bd94db7..84596529c2 100644 --- a/ports/sysdeps/alpha/fpu/fclrexcpt.c +++ b/ports/sysdeps/alpha/fpu/fclrexcpt.c @@ -1,5 +1,5 @@ /* Clear given exceptions in current floating-point environment. - Copyright (C) 1997,99,2000,01 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Richard Henderson , 1997. @@ -43,4 +43,5 @@ strong_alias (__feclearexcept, __old_feclearexcept) compat_symbol (libm, __old_feclearexcept, feclearexcept, GLIBC_2_1); #endif +libm_hidden_ver (__feclearexcept, feclearexcept) versioned_symbol (libm, __feclearexcept, feclearexcept, GLIBC_2_2); diff --git a/ports/sysdeps/am33/fpu/fclrexcpt.c b/ports/sysdeps/am33/fpu/fclrexcpt.c index 2b15f45a63..492ea38ba3 100644 --- a/ports/sysdeps/am33/fpu/fclrexcpt.c +++ b/ports/sysdeps/am33/fpu/fclrexcpt.c @@ -1,5 +1,5 @@ /* Clear given exceptions in current floating-point environment. - Copyright (C) 1998, 1999, 2000, 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 1998-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Alexandre Oliva based on corresponding file in the MIPS port. @@ -48,4 +48,5 @@ __feclearexcept (int excepts) return 0; } +libm_hidden_ver (__feclearexcept, feclearexcept) versioned_symbol (libm, __feclearexcept, feclearexcept, GLIBC_2_2); diff --git a/ports/sysdeps/arm/fclrexcpt.c b/ports/sysdeps/arm/fclrexcpt.c index 23435fba78..fb106a5cc6 100644 --- a/ports/sysdeps/arm/fclrexcpt.c +++ b/ports/sysdeps/arm/fclrexcpt.c @@ -54,4 +54,5 @@ strong_alias (__feclearexcept, __old_feclearexcept) compat_symbol (libm, __old_feclearexcept, feclearexcept, GLIBC_2_1); #endif +libm_hidden_ver (__feclearexcept, feclearexcept) versioned_symbol (libm, __feclearexcept, feclearexcept, GLIBC_2_2); diff --git a/ports/sysdeps/hppa/fpu/fclrexcpt.c b/ports/sysdeps/hppa/fpu/fclrexcpt.c index 5d1e593105..bbc2c70803 100644 --- a/ports/sysdeps/hppa/fpu/fclrexcpt.c +++ b/ports/sysdeps/hppa/fpu/fclrexcpt.c @@ -1,5 +1,5 @@ /* Clear given exceptions in current floating-point environment. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Huggins-Daines , 2000 @@ -33,3 +33,4 @@ feclearexcept (int excepts) /* Success. */ return 0; } +libm_hidden_def (feclearexcept) diff --git a/ports/sysdeps/ia64/fpu/fclrexcpt.c b/ports/sysdeps/ia64/fpu/fclrexcpt.c index 84f83277b9..c099fd35ab 100644 --- a/ports/sysdeps/ia64/fpu/fclrexcpt.c +++ b/ports/sysdeps/ia64/fpu/fclrexcpt.c @@ -1,5 +1,5 @@ /* Clear given exceptions in current floating-point environment. - Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Christian Boissat , 1999 and Jes Sorensen , 2000 @@ -36,3 +36,4 @@ feclearexcept (int excepts) /* success */ return 0; } +libm_hidden_def (feclearexcept) diff --git a/ports/sysdeps/m68k/fpu/fclrexcpt.c b/ports/sysdeps/m68k/fpu/fclrexcpt.c index ceda99cb98..cfc8d9e258 100644 --- a/ports/sysdeps/m68k/fpu/fclrexcpt.c +++ b/ports/sysdeps/m68k/fpu/fclrexcpt.c @@ -1,5 +1,5 @@ /* Clear given exceptions in current floating-point environment. - Copyright (C) 1997,99,2000,01 Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Schwab @@ -46,4 +46,5 @@ strong_alias (__feclearexcept, __old_feclearexcept) compat_symbol (libm, __old_feclearexcept, feclearexcept, GLIBC_2_1); #endif +libm_hidden_ver (__feclearexcept, feclearexcept) versioned_symbol (libm, __feclearexcept, feclearexcept, GLIBC_2_2); diff --git a/ports/sysdeps/mips/fpu/fclrexcpt.c b/ports/sysdeps/mips/fpu/fclrexcpt.c index f97d892605..f4709b4d28 100644 --- a/ports/sysdeps/mips/fpu/fclrexcpt.c +++ b/ports/sysdeps/mips/fpu/fclrexcpt.c @@ -1,5 +1,5 @@ /* Clear given exceptions in current floating-point environment. - Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1998-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger , 1998. @@ -44,3 +44,4 @@ feclearexcept (int excepts) /* Success. */ return 0; } +libm_hidden_def (feclearexcept) diff --git a/ports/sysdeps/powerpc/nofpu/fclrexcpt.c b/ports/sysdeps/powerpc/nofpu/fclrexcpt.c index 768fd8ff84..f4b9016ea0 100644 --- a/ports/sysdeps/powerpc/nofpu/fclrexcpt.c +++ b/ports/sysdeps/powerpc/nofpu/fclrexcpt.c @@ -1,5 +1,5 @@ /* Clear floating-point exceptions (soft-float edition). - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002-2012 Free Software Foundation, Inc. Contributed by Aldy Hernandez , 2002. This file is part of the GNU C Library. @@ -33,4 +33,5 @@ strong_alias (__feclearexcept, __old_feclearexcept) compat_symbol (libm, __old_feclearexcept, feclearexcept, GLIBC_2_1); #endif +libm_hidden_ver (__feclearexcept, feclearexcept) versioned_symbol (libm, __feclearexcept, feclearexcept, GLIBC_2_2); -- cgit 1.4.1