Author: tkreuzer Date: Mon Dec 20 10:16:43 2010 New Revision: 50068
URL: http://svn.reactos.org/svn/reactos?rev=50068&view=rev Log: [CRT] Fix bugs in converted asm file. Fixes Firefox color issues.
Modified: trunk/reactos/lib/sdk/crt/math/i386/pow_asm.s
Modified: trunk/reactos/lib/sdk/crt/math/i386/pow_asm.s URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/pow_a... ============================================================================== --- trunk/reactos/lib/sdk/crt/math/i386/pow_asm.s [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/math/i386/pow_asm.s [iso-8859-1] Mon Dec 20 10:16:43 2010 @@ -117,7 +117,7 @@ /* fistpll raises invalid exception for |y| >= 1L<<63. */ fld st // y : y : x fabs // |y| : y : x - fcomp qword ptr MO(p63) // y : x + fcomp qword ptr ds:MO(p63) // y : x fnstsw ax sahf jnc L2 @@ -194,7 +194,7 @@ L8: fmul st, st(1) // y*log2(x) : y fst st(1) // y*log2(x) : y*log2(x) frndint // int(y*log2(x)) : y*log2(x) - fsubr st(1), st // int(y*log2(x)) : fract(y*log2(x)) + fsub st(1), st // int(y*log2(x)) : fract(y*log2(x)) fxch // fract(y*log2(x)) : int(y*log2(x)) f2xm1 // 2^fract(y*log2(x))-1 : int(y*log2(x)) fadd qword ptr MO(one) // 2^fract(y*log2(x)) : int(y*log2(x)) @@ -278,7 +278,7 @@
cfi_adjust_cfa_offset (8) .align ALIGNARG(4) -L16:fcomp qword ptr MO(zero) +L16:fcomp qword ptr ds:MO(zero) add esp, 8 cfi_adjust_cfa_offset (-8) fnstsw ax @@ -289,7 +289,7 @@
cfi_adjust_cfa_offset (8) .align ALIGNARG(4) -L17: shl ecx, 30 // sign bit for y in right position +L17: shl edx, 30 // sign bit for y in right position add esp, 8 cfi_adjust_cfa_offset (-8) L18: shr edx, 31