[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r6767 - in /fsf/trunk/libc: ChangeLog sysdeps/powerpc/fpu/bits/mathinline.h sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h



Author: eglibc
Date: Mon Aug 18 00:06:08 2008
New Revision: 6767

Log:
Import glibc-mainline for 2008-08-18

Removed:
    fsf/trunk/libc/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h
Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/sysdeps/powerpc/fpu/bits/mathinline.h

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Mon Aug 18 00:06:08 2008
@@ -1,3 +1,12 @@
+2008-08-14  Ryan S. Arnold  <rsa@xxxxxxxxxx>
+
+	[BZ #6845]
+	* sysdeps/powerpc/fpu/bits/mathinline.h (__signbitl): Copy new
+	__signbitl definition and __LONG_DOUBLE_128__ guard from:
+	* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h: Remove as
+	redundant.  Functions which call floating point assembler operations
+	should go into a sysdeps powerpc/fpu directory.
+
 2008-08-15  Ulrich Drepper  <drepper@xxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_STACK.

Modified: fsf/trunk/libc/sysdeps/powerpc/fpu/bits/mathinline.h
==============================================================================
--- fsf/trunk/libc/sysdeps/powerpc/fpu/bits/mathinline.h (original)
+++ fsf/trunk/libc/sysdeps/powerpc/fpu/bits/mathinline.h Mon Aug 18 00:06:08 2008
@@ -1,5 +1,5 @@
 /* Inline math functions for powerpc.
-   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2004, 2006, 2007
+   Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2004, 2006, 2007, 2008
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -72,6 +72,14 @@
   __extension__ union { double __d; int __i[2]; } __u = { __d: __x };
   return __u.__i[0] < 0;
 }
+#  ifdef __LONG_DOUBLE_128__
+__MATH_INLINE int
+__NTH (__signbitl (long double __x))
+{
+  __extension__ union { long double __d; int __i[4]; } __u = { __d: __x };
+  return __u.__i[0] < 0;
+}
+#  endif
 # endif
 #endif /* __USE_ISOC99 */