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

[Commits] r17717 - in /fsf/trunk/ports: ./ sysdeps/m68k/m680x0/fpu/ sysdeps/unix/sysv/linux/hppa/bits/



Author: eglibc
Date: Fri Mar 23 00:02:11 2012
New Revision: 17717

Log:
Import glibc-ports-mainline for 2012-03-23

Modified:
    fsf/trunk/ports/ChangeLog.hppa
    fsf/trunk/ports/ChangeLog.m68k
    fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps
    fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h

Modified: fsf/trunk/ports/ChangeLog.hppa
==============================================================================
--- fsf/trunk/ports/ChangeLog.hppa (original)
+++ fsf/trunk/ports/ChangeLog.hppa Fri Mar 23 00:02:11 2012
@@ -1,3 +1,10 @@
+2012-03-22  Carlos O'Donell  <carlos@xxxxxxxxxxxxxxxx>
+
+	[BZ #6730]
+
+	* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Don't negate %r21 and
+	check for -EFAULT and -ENOSYS instead.
+
 2012-03-09  Richard Henderson  <rth@xxxxxxxxxxx>
 
 	* sysdeps/hppa/hppa1.1/s_signbit.c: Use <> to include math_private.h.

Modified: fsf/trunk/ports/ChangeLog.m68k
==============================================================================
--- fsf/trunk/ports/ChangeLog.m68k (original)
+++ fsf/trunk/ports/ChangeLog.m68k Fri Mar 23 00:02:11 2012
@@ -1,3 +1,7 @@
+2012-03-22  Andreas Schwab  <schwab@xxxxxxxxxxxxxx>
+
+	* sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
+
 2012-03-21  Andreas Schwab  <schwab@xxxxxxxxxxxxxx>
 
 	* sysdeps/unix/sysv/linux/m68k/register-dump.h: Include <_itoa.h>

Modified: fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps
==============================================================================
--- fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps (original)
+++ fsf/trunk/ports/sysdeps/m68k/m680x0/fpu/libm-test-ulps Fri Mar 23 00:02:11 2012
@@ -439,6 +439,9 @@
 ldouble: 1
 
 # cexp
+Test "Real part of: cexp (-10000 + 0x1p16383 i) == 1.045876464564882298442774542991176546722e-4343 + 4.421154026488516836023811173959413420548e-4344 i":
+ildouble: 1
+ldouble: 1
 Test "Real part of: cexp (-2.0 - 3.0 i) == -0.13398091492954261346140525546115575 - 0.019098516261135196432576240858800925 i":
 float: 1
 ifloat: 1
@@ -451,6 +454,9 @@
 Test "Imaginary part of: cexp (0.75 + 1.25 i) == 0.667537446429131586942201977015932112 + 2.00900045494094876258347228145863909 i":
 float: 1
 ifloat: 1
+ildouble: 1
+ldouble: 1
+Test "Imaginary part of: cexp (50 + 0x1p127 i) == 4.053997150228616856622417636046265337193e21 + 3.232070315463388524466674772633810238819e21 i":
 ildouble: 1
 ldouble: 1
 
@@ -1941,6 +1947,8 @@
 Function: Real part of "cexp":
 float: 2
 ifloat: 2
+ildouble: 1
+ldouble: 1
 
 Function: Imaginary part of "cexp":
 float: 1

Modified: fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h
==============================================================================
--- fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h (original)
+++ fsf/trunk/ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h Fri Mar 23 00:02:11 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Carlos O'Donell <carlos@xxxxxxxxxxxxxx>, 2005.
 
@@ -79,14 +79,13 @@
 	"cmpb,=,n %%r25, %%r21, 0b		\n\t"			\
 	"nop					\n\t"			\
 	"stw	%%r28, %0			\n\t"			\
-        "sub	%%r0, %%r21, %%r21		\n\t"			\
 	"stw	%%r21, %1			\n\t"			\
 	: "=m" (lws_ret), "=m" (lws_errno) 				\
         : "r" (mem), "r" (oldval), "r" (newval)				\
 	: _LWS_CLOBBER							\
      );									\
     									\
-     if(lws_errno == EFAULT || lws_errno == ENOSYS)			\
+     if(lws_errno == -EFAULT || lws_errno == -ENOSYS)			\
      	ABORT_INSTRUCTION;						\
     									\
      lws_ret;								\

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits