summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/i386/fpu/__math.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fcdf91c294..1b40afca1c 100644
--- 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.
diff --git a/sysdeps/i386/fpu/__math.h b/sysdeps/i386/fpu/__math.h
index c9bae29ba3..9648ef592e 100644
--- a/sysdeps/i386/fpu/__math.h
+++ b/sysdeps/i386/fpu/__math.h
@@ -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;
}