GNU C Library master sources branch, master, updated. glibc-2.12-196-g18edac4

drepper@sourceware.org drepper@sourceware.org
Tue Oct 19 16:59:00 GMT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  18edac4857531b4b034eef37a07e3b03117de2bf (commit)
       via  d20501241ea423e477b357d93147530987e0d89e (commit)
       via  6ce0bb748d7de856cb2076b41625fe7cedac5e16 (commit)
       via  475facd1f553ad6d45de1137bd2a22e70307c7bf (commit)
      from  7c08a05c5f4f86f9e249c2554b1628da0f812364 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=18edac4857531b4b034eef37a07e3b03117de2bf

commit 18edac4857531b4b034eef37a07e3b03117de2bf
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Tue Oct 19 12:56:42 2010 -0400

    Provide FP_FAST_FMA{,F,L} definitions for x86/x86-64.

diff --git a/ChangeLog b/ChangeLog
index f90f303..e162666 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-10-19  Ulrich Drepper  <drepper@gmail.com>
+
+	* sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
+	fast fma builtins, define the macros in the C99 standard.
+	(FP_FAST_FMAF): Likewise.
+	(FP_FAST_FMAL): Likewise.
+	* sysdeps/x86_64/bits/mathdef.h: Likewise.
+
+	* bits/mathdef.h: Update copyright year.
+	* sysdeps/powerpc/bits/mathdef.h: Likewise.
+
 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
 
 	* bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
diff --git a/bits/mathdef.h b/bits/mathdef.h
index 9734380..3cea584 100644
--- a/bits/mathdef.h
+++ b/bits/mathdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1997,1998,1999,2000,2004,2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
diff --git a/sysdeps/i386/bits/mathdef.h b/sysdeps/i386/bits/mathdef.h
index ec42ed5..479eb96 100644
--- a/sysdeps/i386/bits/mathdef.h
+++ b/sysdeps/i386/bits/mathdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2000, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2004, 2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -43,4 +43,18 @@ typedef long double double_t;	/* `double' expressions are evaluated as
 # define FP_ILOGB0	(-2147483647 - 1)
 # define FP_ILOGBNAN	(-2147483647 - 1)
 
+/* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
+   builtins are supported.  */
+# if __FP_FAST_FMA
+#  define FP_FAST_FMA 1
+# endif
+
+# if __FP_FAST_FMAF
+#  define FP_FAST_FMAF 1
+# endif
+
+# if __FP_FAST_FMAL
+#  define FP_FAST_FMAL 1
+# endif
+
 #endif	/* ISO C99 */
diff --git a/sysdeps/powerpc/bits/mathdef.h b/sysdeps/powerpc/bits/mathdef.h
index 0c99248..7723f0c 100644
--- a/sysdeps/powerpc/bits/mathdef.h
+++ b/sysdeps/powerpc/bits/mathdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997,1998,1999,2000,2003,2004,2006
+/* Copyright (C) 1997,1998,1999,2000,2003,2004,2006,2010
 	Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
diff --git a/sysdeps/x86_64/bits/mathdef.h b/sysdeps/x86_64/bits/mathdef.h
index 7b16189..9146392 100644
--- a/sysdeps/x86_64/bits/mathdef.h
+++ b/sysdeps/x86_64/bits/mathdef.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2004, 2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -45,4 +45,18 @@ typedef long double double_t;	/* `double' expressions are evaluated as
 # define FP_ILOGB0	(-2147483647 - 1)
 # define FP_ILOGBNAN	(-2147483647 - 1)
 
+/* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
+   builtins are supported.  */
+# if __FP_FAST_FMA
+#  define FP_FAST_FMA 1
+# endif
+
+# if __FP_FAST_FMAF
+#  define FP_FAST_FMAF 1
+# endif
+
+# if __FP_FAST_FMAL
+#  define FP_FAST_FMAL 1
+# endif
+
 #endif	/* ISO C99 */

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d20501241ea423e477b357d93147530987e0d89e

commit d20501241ea423e477b357d93147530987e0d89e
Author: Michael Meissner <meissner@linux.vnet.ibm.com>
Date:   Tue Oct 19 12:49:05 2010 -0400

    Add C99 FP_FAST_FMA{,F,L} macros to math.h

diff --git a/ChangeLog b/ChangeLog
index 613f8df..f90f303 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+	* bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
+	builtins, define the macros in the C99 standard.
+	(FP_FAST_FMAF): Likewise.
+	(FP_FAST_FMAL): Likewise.
+	* sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
+	multiply/add.
+	(FP_FAST_FMAF): Likewise.
+
 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
 
 	[BZ #3268]
diff --git a/bits/mathdef.h b/bits/mathdef.h
index 00c6724..9734380 100644
--- a/bits/mathdef.h
+++ b/bits/mathdef.h
@@ -34,6 +34,20 @@ typedef double double_t;	/* `double' expressions are evaluated as
 # define FP_ILOGB0	(-2147483647)
 # define FP_ILOGBNAN	2147483647
 
+/* The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
+   builtins are supported.  */
+#if __FP_FAST_FMA
+# define FP_FAST_FMA 1
+#endif
+
+#if __FP_FAST_FMAF
+# define FP_FAST_FMAF 1
+#endif
+
+#if __FP_FAST_FMAL
+# define FP_FAST_FMAL 1
+#endif
+
 #endif	/* ISO C99 */
 
 #ifndef __NO_LONG_DOUBLE_MATH
diff --git a/sysdeps/powerpc/bits/mathdef.h b/sysdeps/powerpc/bits/mathdef.h
index b79cc6f..0c99248 100644
--- a/sysdeps/powerpc/bits/mathdef.h
+++ b/sysdeps/powerpc/bits/mathdef.h
@@ -61,4 +61,8 @@ typedef double double_t;
 # define FP_ILOGB0	(-2147483647)
 # define FP_ILOGBNAN	(2147483647)
 
+/* The powerpc has a combined multiply/add instruction.  */
+# define FP_FAST_FMA 1
+# define FP_FAST_FMAF 1
+
 #endif	/* ISO C99 */

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6ce0bb748d7de856cb2076b41625fe7cedac5e16

commit 6ce0bb748d7de856cb2076b41625fe7cedac5e16
Merge: 475facd 7c08a05
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Tue Oct 19 12:47:13 2010 -0400

    Merge branch 'master' of ssh://sourceware.org/git/glibc
    
    Conflicts:
    	ChangeLog

diff --cc ChangeLog
index 935e84f,aafc454..613f8df
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,18 -1,11 +1,26 @@@
 +2010-10-15  Jakub Jelinek  <jakub@redhat.com>
 +
 +	[BZ #3268]
 +	* math/libm-test.inc (fma_test): Some new testcases.
 +	* sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
 +	* sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
 +	y and infinite z.  Do multiplication by C already in long double.
 +	* sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
 +	* sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
 +	y and infinite z.  Do bitwise or of inexact bit into u.d.
 +	* sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
 +	* sysdeps/i386/fpu/s_fmaf.S: Removed.
 +	* sysdeps/i386/fpu/s_fma.S: Removed.
 +	* sysdeps/i386/fpu/s_fmal.S: Removed.
 +
+ 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
+ 
+ 	[BZ #3268]
+ 	* math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
+ 	* sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
+ 	computation is not scheduled after fetestexcept.  Fix value
+ 	of minimum denormal long double.
+ 
  2010-10-14  Jakub Jelinek  <jakub@redhat.com>
  
  	[BZ #3268]

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=475facd1f553ad6d45de1137bd2a22e70307c7bf

commit 475facd1f553ad6d45de1137bd2a22e70307c7bf
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Fri Oct 15 15:27:16 2010 -0400

    Missing CL.

diff --git a/ChangeLog b/ChangeLog
index 62ba40b..935e84f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2010-10-15  Jakub Jelinek  <jakub@redhat.com>
+
+	[BZ #3268]
+	* math/libm-test.inc (fma_test): Some new testcases.
+	* sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
+	* sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
+	y and infinite z.  Do multiplication by C already in long double.
+	* sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
+	* sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
+	y and infinite z.  Do bitwise or of inexact bit into u.d.
+	* sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
+	* sysdeps/i386/fpu/s_fmaf.S: Removed.
+	* sysdeps/i386/fpu/s_fma.S: Removed.
+	* sysdeps/i386/fpu/s_fmal.S: Removed.
+
 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
 
 	[BZ #3268]

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                      |   36 ++++++++++++++++++++++++++++++++++++
 bits/mathdef.h                 |   16 +++++++++++++++-
 sysdeps/i386/bits/mathdef.h    |   16 +++++++++++++++-
 sysdeps/powerpc/bits/mathdef.h |    6 +++++-
 sysdeps/x86_64/bits/mathdef.h  |   16 +++++++++++++++-
 5 files changed, 86 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list