Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/arch/i387 2 more bitnumber mistakes fixed while rem...



details:   https://anonhg.NetBSD.org/src/rev/be480e57d10a
branches:  trunk
changeset: 511722:be480e57d10a
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Mon Jun 25 16:47:05 2001 +0000

description:
2 more bitnumber mistakes fixed while removing sahf.

diffstat:

 lib/libm/arch/i387/e_remainder.S  |  4 ++--
 lib/libm/arch/i387/e_remainderf.S |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r cd460d772e6b -r be480e57d10a lib/libm/arch/i387/e_remainder.S
--- a/lib/libm/arch/i387/e_remainder.S  Mon Jun 25 16:44:34 2001 +0000
+++ b/lib/libm/arch/i387/e_remainder.S  Mon Jun 25 16:47:05 2001 +0000
@@ -7,7 +7,7 @@
 
 #include "abi.h"
 
-RCSID("$NetBSD: e_remainder.S,v 1.5 2001/06/19 00:26:30 fvdl Exp $")
+RCSID("$NetBSD: e_remainder.S,v 1.6 2001/06/25 16:47:05 fvdl Exp $")
 
 ENTRY(__ieee754_remainder)
        XMM_TWO_ARG_DOUBLE_PROLOGUE
@@ -15,7 +15,7 @@
        fldl    ARG_DOUBLE_ONE
 1:     fprem1
        fstsw   %ax
-       btw     $2,%ax
+       btw     $10,%ax
        jc      1b
        fstp    %st(1)
        XMM_DOUBLE_EPILOGUE
diff -r cd460d772e6b -r be480e57d10a lib/libm/arch/i387/e_remainderf.S
--- a/lib/libm/arch/i387/e_remainderf.S Mon Jun 25 16:44:34 2001 +0000
+++ b/lib/libm/arch/i387/e_remainderf.S Mon Jun 25 16:47:05 2001 +0000
@@ -7,7 +7,7 @@
 
 #include "abi.h"
 
-RCSID("$NetBSD: e_remainderf.S,v 1.3 2001/06/19 00:26:30 fvdl Exp $")
+RCSID("$NetBSD: e_remainderf.S,v 1.4 2001/06/25 16:47:05 fvdl Exp $")
 
 ENTRY(__ieee754_remainderf)
        XMM_TWO_ARG_FLOAT_PROLOGUE
@@ -15,7 +15,7 @@
        flds    ARG_FLOAT_ONE
 1:     fprem1
        fstsw   %ax
-       btw     $2,%ax
+       btw     $10,%ax
        jc      1b
        fstp    %st(1)
        XMM_FLOAT_EPILOGUE



Home | Main Index | Thread Index | Old Index