mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +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 ***************************************************************/
|
||||
|
||||
_atan:
|
||||
push ebp
|
||||
mov ebp,esp
|
||||
fld qword ptr [ebp+8]
|
||||
fpatan
|
||||
pop ebp
|
||||
fld qword ptr [esp+4]
|
||||
fpatan
|
||||
ret
|
||||
|
|
|
@ -15,11 +15,8 @@
|
|||
/* FUNCTIONS ***************************************************************/
|
||||
|
||||
_log10:
|
||||
push ebp
|
||||
mov ebp,esp
|
||||
fld qword ptr [ebp+8]
|
||||
fldlg2
|
||||
fyl2x
|
||||
pop ebp
|
||||
fld qword ptr [esp+4]
|
||||
fldlg2
|
||||
fyl2x
|
||||
ret
|
||||
|
||||
|
|
Loading…
Reference in a new issue