This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.16-ports-merge-264-g89570c6


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  89570c6269318b01646448810bcb28342f18ea0b (commit)
      from  563c840564dce77de47b3912a741baa93bdd3b67 (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=89570c6269318b01646448810bcb28342f18ea0b

commit 89570c6269318b01646448810bcb28342f18ea0b
Author: Guido Guenther <agx@sigxcpu.org>
Date:   Mon Aug 27 12:20:25 2012 -0400

    mips: clear condition bit 23 in fpu too
    
    We've been carrying this in Gentoo for quite a long time to fix some test
    failures that people hit.
    
    Original message:
    	> make[4]: *** [/glibc/glibc-package-2.3/mips-linux/obj/math/test-fpucw.out] Error 1
    	This test fails since the read back fpu control word is 0x80000 instead
    	of 0x0. I wonder if this patch is correct:
    	...
    	which additionally masks out the condition bit 23 - note that the other
    	condition bits (25-31) are masked out too?
    
    URL: http://sourceware.org/ml/libc-alpha/2002-10/msg00392.html
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index 2d1ca84..8d919d0 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,3 +1,7 @@
+2012-08-27  Guido Guenther  <agx@sigxcpu.org>
+
+	* sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23.
+
 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM ==
diff --git a/ports/sysdeps/mips/fpu_control.h b/ports/sysdeps/mips/fpu_control.h
index e9c859a..7307d03 100644
--- a/ports/sysdeps/mips/fpu_control.h
+++ b/ports/sysdeps/mips/fpu_control.h
@@ -85,7 +85,7 @@ extern fpu_control_t __fpu_control;
 #define _FPU_RC_UP      0x2
 #define _FPU_RC_DOWN    0x3
 
-#define _FPU_RESERVED 0xfe3c0000  /* Reserved bits in cw */
+#define _FPU_RESERVED 0xfebc0000  /* Reserved bits in cw */
 
 
 /* The fdlibm code requires strict IEEE double precision arithmetic,

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

Summary of changes:
 ports/ChangeLog.mips             |    4 ++++
 ports/sysdeps/mips/fpu_control.h |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]