diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-06-26 14:47:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-06-26 14:47:05 +0000 |
commit | dff14448f7521b27349af4e67d141aba1c9d7edd (patch) | |
tree | 2dd0d2abacdead8595ad645a34a4e5f445ccb9f9 /sysdeps/i386/fpu/bits | |
parent | 768cbca8b5a0db079bab56ef2178c977b1ad2a34 (diff) | |
download | glibc-dff14448f7521b27349af4e67d141aba1c9d7edd.tar.gz glibc-dff14448f7521b27349af4e67d141aba1c9d7edd.tar.xz glibc-dff14448f7521b27349af4e67d141aba1c9d7edd.zip |
Update.
1998-06-26 14:37 Ulrich Drepper <drepper@cygnus.com> * configure.in: Check for -fexceptions. * config.make.in: Define exceptions, not no-exceptions. * misc/sys/cdefs.h: Define __PMS. When using modern g++ define __P to use throw(). * misc/Makefile: Define CFLAGS-tsearch.c and CFLAGS-lsearch.c to $(exceptions). * stdlib/Makefile: Likewise for bsearch.c, msort.c, and qsort.c. * misc/search.h: Use __PMS in tsearch, tfind, tdelete, twalk, tdestroy, lfind, and lsearch prototpypes. * stdlib/stdlib.h: Likewise for bsearch and qsort. 1998-06-26 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/fpu/bits/mathinline.h (__finite): Use C code, not asm. 1998-06-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makefile (remove-old-headers): Make phony. * configure.in: Substitute @old_glibc_headers@. 1998-06-26 Ulrich Drepper <drepper@cygnus.com> * libc.map: Remove __libc_uid. 1998-06-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * manual/terminal.texi (Allocation, Pseudo-Terminal Pairs): Fix typos. 1998-06-26 Ulrich Drepper <drepper@cygnus.com> * libc.map: Add Alpha-specific io function from protected namespace.
Diffstat (limited to 'sysdeps/i386/fpu/bits')
-rw-r--r-- | sysdeps/i386/fpu/bits/mathinline.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/i386/fpu/bits/mathinline.h b/sysdeps/i386/fpu/bits/mathinline.h index aa532cea05..ee00f5881a 100644 --- a/sysdeps/i386/fpu/bits/mathinline.h +++ b/sysdeps/i386/fpu/bits/mathinline.h @@ -581,13 +581,7 @@ __MATH_INLINE int __finite (double __x) __attribute__ ((__const__)); __MATH_INLINE int __finite (double __x) { - register int __result; - __asm__ __volatile__ - ("orl $0x800fffff, %0\n\t" - "incl %0\n\t" - "shrl $31, %0" - : "=r" (__result) : "0" (((int *) &__x)[1]) : "cc"); - return __result; + return ((((int *) &__x)[1] | 0x800fffff) + 1) >> 31; } /* Miscellaneous functions */ |