summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-29 05:12:55 +0000
committerRoland McGrath <roland@gnu.org>1996-05-29 05:12:55 +0000
commit77aae36646c277bcf26cea48c167b657811f0ab3 (patch)
tree5d018cfb751a453b6c49502e05352b5f13dcbb9c
parentd06b536dc10bd096d7141fc058399e83275c8e3b (diff)
* sysdeps/i386/fpu/__math.h (logb): Correct contraint from =u to =t.cvs/libc-960529
Must operate on top of fp reg stack, not second from top.
-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;
}