From 194f138d20ed0895f6ca8615e84760dc3ef68ae5 Mon Sep 17 00:00:00 2001 From: zueuk Date: Mon, 16 Mar 2009 09:06:20 +0000 Subject: [PATCH] typo in asm-code --- 2.10/Source/varJuliaN.pas | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/2.10/Source/varJuliaN.pas b/2.10/Source/varJuliaN.pas index bf2d583..3df2d72 100644 --- a/2.10/Source/varJuliaN.pas +++ b/2.10/Source/varJuliaN.pas @@ -261,18 +261,15 @@ begin FPy^ := FPy^ + vvar * FTy^; {$else} asm - mov edx, [eax + FTx] //[eax + FTy] - fld qword ptr [edx] -// mov edx, [eax + FTx] - fld qword ptr [edx + 8] + mov edx, [eax + FTx] + fld qword ptr [edx + 8] // FTy + fld qword ptr [edx] // FTx fld qword ptr [eax + vvar] fmul st(2), st fmulp -// mov edx, [eax + FPx] - fadd qword ptr [edx + 16] + fadd qword ptr [edx + 16] // FPx fstp qword ptr [edx + 16] -// mov edx, [eax + FPy] - fadd qword ptr [edx + 24] + fadd qword ptr [edx + 24] // FPy fstp qword ptr [edx + 24] fwait {$endif} @@ -303,10 +300,10 @@ asm fmulp // mov edx, [eax + FPx] fadd qword ptr [edx + 16] // FPx - fstp qword ptr [edx + 16] // FPx + fstp qword ptr [edx + 16] // mov edx, [eax + FPy] fsubr qword ptr [edx + 24] // FPy - fstp qword ptr [edx + 24] // FPy + fstp qword ptr [edx + 24] fwait {$endif} end;