mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 08:30:21 +00:00
optimizing atan and log10, do not use frame pointer, use the stack pointer direcly
svn path=/trunk/; revision=26820
This commit is contained in:
parent
70e2b462a5
commit
0935620f31
2 changed files with 5 additions and 11 deletions
|
@ -14,9 +14,6 @@
|
||||||
/* FUNCTIONS ***************************************************************/
|
/* FUNCTIONS ***************************************************************/
|
||||||
|
|
||||||
_atan:
|
_atan:
|
||||||
push ebp
|
fld qword ptr [esp+4]
|
||||||
mov ebp,esp
|
fpatan
|
||||||
fld qword ptr [ebp+8]
|
|
||||||
fpatan
|
|
||||||
pop ebp
|
|
||||||
ret
|
ret
|
||||||
|
|
|
@ -15,11 +15,8 @@
|
||||||
/* FUNCTIONS ***************************************************************/
|
/* FUNCTIONS ***************************************************************/
|
||||||
|
|
||||||
_log10:
|
_log10:
|
||||||
push ebp
|
fld qword ptr [esp+4]
|
||||||
mov ebp,esp
|
fldlg2
|
||||||
fld qword ptr [ebp+8]
|
fyl2x
|
||||||
fldlg2
|
|
||||||
fyl2x
|
|
||||||
pop ebp
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue