optimizing atan and log10, do not use frame pointer, use the stack pointer direcly

svn path=/trunk/; revision=26820
This commit is contained in:
Magnus Olsen 2007-05-17 10:48:00 +00:00
parent 70e2b462a5
commit 0935620f31
2 changed files with 5 additions and 11 deletions

View file

@ -14,9 +14,6 @@
/* FUNCTIONS ***************************************************************/
_atan:
push ebp
mov ebp,esp
fld qword ptr [ebp+8]
fld qword ptr [esp+4]
fpatan
pop ebp
ret

View file

@ -15,11 +15,8 @@
/* FUNCTIONS ***************************************************************/
_log10:
push ebp
mov ebp,esp
fld qword ptr [ebp+8]
fld qword ptr [esp+4]
fldlg2
fyl2x
pop ebp
ret