%rbp -> %rsp in 2 cases.

This commit is contained in:
fvdl 2001-06-19 17:49:36 +00:00
parent 86b75389d1
commit 120d96874f
2 changed files with 4 additions and 4 deletions

View File

@ -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 @@ ENTRY(__ieee754_exp)
#else
fstpl -8(%rsp)
movsd -8(%rsp),%xmm0
fldcw -12(%rbp)
fldcw -12(%rsp)
#endif
ret

View File

@ -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 @@ ENTRY(floor)
#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)