This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.3 on linux-mips
- From: Guido Guenther <agx at sigxcpu dot org>
- To: libc-alpha at sources dot redhat dot com
- Cc: ralf at linux-mips dot org
- Date: Sat, 19 Oct 2002 18:39:47 +0200
- Subject: Re: glibc 2.3 on linux-mips
- References: <20021006231502.GC14505@bogon.ms20.nix>
Hi,
On Mon, Oct 07, 2002 at 01:15:02AM +0200, Guido Guenther wrote:
> 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:
diff -u -r1.6 fpu_control.h
--- sysdeps/mips//fpu_control.h 6 Jul 2001 04:56:00 -0000 1.6
+++ sysdeps/mips//fpu_control.h 19 Oct 2002 16:03:35 -0000
@@ -74,7 +74,7 @@
#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,
which additionally masks out the condition bit 23 - note that the other
condition bits (25-31) are masked out too?
Regards,
-- Guido