Author: greatlrd Date: Thu May 17 14:48:00 2007 New Revision: 26820
URL: http://svn.reactos.org/svn/reactos?rev=26820&view=rev Log: optimizing atan and log10, do not use frame pointer, use the stack pointer direcly
Modified: trunk/reactos/lib/sdk/crt/math/i386/atan_asm.s trunk/reactos/lib/sdk/crt/math/i386/log10_asm.s
Modified: trunk/reactos/lib/sdk/crt/math/i386/atan_asm.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/atan_... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/i386/atan_asm.s (original) +++ trunk/reactos/lib/sdk/crt/math/i386/atan_asm.s Thu May 17 14:48:00 2007 @@ -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
Modified: trunk/reactos/lib/sdk/crt/math/i386/log10_asm.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/log10... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/i386/log10_asm.s (original) +++ trunk/reactos/lib/sdk/crt/math/i386/log10_asm.s Thu May 17 14:48:00 2007 @@ -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