mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user