glibc 2.3 on linux-mips
Guido Guenther
agx@sigxcpu.org
Sat Oct 19 09:41:00 GMT 2002
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
More information about the Libc-alpha
mailing list