Clean up the FPU stack before returning. One stack slot was leaked on
every call. The damage was sometimes limited by other routines using and freeing stack slots that should have been empty to being with.
This commit is contained in:
parent
669ca89787
commit
14480319f6
@ -35,10 +35,11 @@
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
|
||||
RCSID("$Id: e_scalb.S,v 1.1.1.1 1994/08/19 09:40:00 jkh Exp $")
|
||||
RCSID("$Id: e_scalb.S,v 1.2 1994/08/19 11:14:19 jkh Exp $")
|
||||
|
||||
ENTRY(__ieee754_scalb)
|
||||
fldl 12(%esp)
|
||||
fldl 4(%esp)
|
||||
fscale
|
||||
fstp %st(1)
|
||||
ret
|
||||
|
@ -35,10 +35,11 @@
|
||||
|
||||
#include <machine/asmacros.h>
|
||||
|
||||
RCSID("$Id: s_scalbn.S,v 1.1.1.1 1994/08/19 09:40:01 jkh Exp $")
|
||||
RCSID("$Id: s_scalbn.S,v 1.2 1994/08/19 11:14:30 jkh Exp $")
|
||||
|
||||
ENTRY(scalbn)
|
||||
fildl 12(%esp)
|
||||
fldl 4(%esp)
|
||||
fscale
|
||||
fstp %st(1)
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user