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 %rbp -> %rsp in 2 cases.



details:   https://anonhg.NetBSD.org/src/rev/1cfdfcf00111
branches:  trunk
changeset: 511451:1cfdfcf00111
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Jun 19 17:49:36 2001 +0000

description:
%rbp -> %rsp in 2 cases.

diffstat:

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

diffs (41 lines):

diff -r 160e3c7d4daf -r 1cfdfcf00111 lib/libm/arch/i387/e_exp.S
--- a/lib/libm/arch/i387/e_exp.S        Tue Jun 19 16:51:43 2001 +0000
+++ b/lib/libm/arch/i387/e_exp.S        Tue Jun 19 17:49:36 2001 +0000
@@ -7,7 +7,7 @@
 
 #include "abi.h"
 
-RCSID("$NetBSD: e_exp.S,v 1.10 2001/06/19 00:26:30 fvdl Exp $")
+RCSID("$NetBSD: e_exp.S,v 1.11 2001/06/19 17:49:36 fvdl Exp $")
 
 /* e^x = 2^(x * log2(e)) */
 ENTRY(__ieee754_exp)
@@ -50,6 +50,6 @@
 #else
        fstpl   -8(%rsp)
        movsd   -8(%rsp),%xmm0
-       fldcw   -12(%rbp)
+       fldcw   -12(%rsp)
 #endif
        ret
diff -r 160e3c7d4daf -r 1cfdfcf00111 lib/libm/arch/i387/s_floor.S
--- a/lib/libm/arch/i387/s_floor.S      Tue Jun 19 16:51:43 2001 +0000
+++ b/lib/libm/arch/i387/s_floor.S      Tue Jun 19 17:49:36 2001 +0000
@@ -5,7 +5,7 @@
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: s_floor.S,v 1.5 2001/06/19 00:26:30 fvdl Exp $")
+RCSID("$NetBSD: s_floor.S,v 1.6 2001/06/19 17:49:36 fvdl Exp $")
 
 ENTRY(floor)
 #ifdef __i386__
@@ -29,7 +29,7 @@
 #else
        movsd   %xmm0, -8(%rsp)
        fstcw   -12(%rsp)
-       movw    -12(%rbp),%dx
+       movw    -12(%rsp),%dx
        orw     $0x0400,%dx
        andw    $0xf7ff,%dx
        movw    %dx,-16(%rsp)



Home | Main Index | Thread Index | Old Index