* sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t. cvs/libc-960529
authorRoland McGrath <roland@gnu.org>
Wed, 29 May 1996 05:12:55 +0000 (05:12 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 29 May 1996 05:12:55 +0000 (05:12 +0000)
Must operate on top of fp reg stack, not second from top.

ChangeLog
sysdeps/i386/fpu/__math.h

index fcdf91c..1b40afc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Wed May 29 00:52:20 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
 
+       * sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.
+       Must operate on top of fp reg stack, not second from top.
+
        * extra-lib.mk (alltypes-$(lib)): Don't append $(objpfx)$(lib).so.
        (others): Instead, make this depend on it.
 
index c9bae29..9648ef5 100644 (file)
@@ -438,7 +438,7 @@ logb (double __x)
   register double __value;
   __asm __volatile__
     ("fxtract\n\t"
-     : "=u" (__value) : "0" (__x));
+     : "=t" (__value) : "0" (__x));
 
   return __value;
 }