Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/lib/libm/arch/i387 Pull up rev. 1.9 (approved by thorpej):
details: https://anonhg.NetBSD.org/src/rev/dacbc98761ed
branches: netbsd-1-5
changeset: 489538:dacbc98761ed
user: kleink <kleink%NetBSD.org@localhost>
date: Tue Sep 26 14:30:26 2000 +0000
description:
Pull up rev. 1.9 (approved by thorpej):
Make these idempotent as far as the FPU register stack is concerned.
diffstat:
lib/libm/arch/i387/e_exp.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r a34f6c081fe5 -r dacbc98761ed lib/libm/arch/i387/e_exp.S
--- a/lib/libm/arch/i387/e_exp.S Tue Sep 26 14:29:43 2000 +0000
+++ b/lib/libm/arch/i387/e_exp.S Tue Sep 26 14:30:26 2000 +0000
@@ -5,7 +5,7 @@
#include <machine/asm.h>
-RCSID("$NetBSD: e_exp.S,v 1.8 1999/07/02 15:37:34 simonb Exp $")
+RCSID("$NetBSD: e_exp.S,v 1.8.8.1 2000/09/26 14:30:26 kleink Exp $")
/* e^x = 2^(x * log2(e)) */
ENTRY(__ieee754_exp)
@@ -22,7 +22,7 @@
fldl 8(%ebp)
fldl2e
fmulp /* x * log2(e) */
- fstl %st(1)
+ fldl %st(0)
frndint /* int(x * log2(e)) */
fxch %st(1)
fsub %st(1),%st /* fract(x * log2(e)) */
Home |
Main Index |
Thread Index |
Old Index