diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-29 18:08:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-29 18:08:15 +0000 |
commit | 497b8ef43fa893f36cd96abfe117e00e2b4854be (patch) | |
tree | c462b9900e58b8f592480f94906c479ca1e6b67f /math | |
parent | 2da345643ad4c615d36f9b11a41d77c9f12ff746 (diff) | |
download | glibc-497b8ef43fa893f36cd96abfe117e00e2b4854be.zip glibc-497b8ef43fa893f36cd96abfe117e00e2b4854be.tar.gz glibc-497b8ef43fa893f36cd96abfe117e00e2b4854be.tar.bz2 |
Update.
2000-07-28 Philip Blundell <philb@gnu.org>
* math/test-fpucw.c: Ignore reserved bits in control word.
2000-07-28 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET): New macro.
(ret): Redefine to PSEUDO_RET.
(PSEUDO): Remove jump to syscall_error.
2000-07-29 Mark Kettenis <kettenis@gnu.org>
* resolv/README: Add some information about using the resolver in
multi-threaded code and with C++. Spelling fixes.
2000-07-29 Mark Kettenis <kettenis@gnu.org>
* resolv/resolv.h (struct __sockaddr_in): Remove.
(struct __res_state) [!_LIBC]: Remove reference to __sockaddr_in.
* sysdeps/powerpc/backtrace.c (struct layout): Make pointers
__unbounded.
Diffstat (limited to 'math')
-rw-r--r-- | math/test-fpucw.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/math/test-fpucw.c b/math/test-fpucw.c index a702d17..0294a42 100644 --- a/math/test-fpucw.c +++ b/math/test-fpucw.c @@ -29,10 +29,13 @@ main (void) _FPU_GETCW (cw); - if (cw != _FPU_DEFAULT) - printf ("control word is 0x%x but should be 0x%x.\n", cw, _FPU_DEFAULT); + cw &= ~_FPU_RESERVED; - return (cw != _FPU_DEFAULT); + if (cw != (_FPU_DEFAULT & ~_FPU_RESERVED)) + printf ("control word is 0x%x but should be 0x%x.\n", + cw, (_FPU_DEFAULT & ~_FPU_RESERVED)); + + return cw != (_FPU_DEFAULT & ~_FPU_RESERVED); #else return 0; |