typo in asm-code
This commit is contained in:
parent
fcda34868a
commit
194f138d20
@ -261,18 +261,15 @@ begin
|
|||||||
FPy^ := FPy^ + vvar * FTy^;
|
FPy^ := FPy^ + vvar * FTy^;
|
||||||
{$else}
|
{$else}
|
||||||
asm
|
asm
|
||||||
mov edx, [eax + FTx] //[eax + FTy]
|
mov edx, [eax + FTx]
|
||||||
fld qword ptr [edx]
|
fld qword ptr [edx + 8] // FTy
|
||||||
// mov edx, [eax + FTx]
|
fld qword ptr [edx] // FTx
|
||||||
fld qword ptr [edx + 8]
|
|
||||||
fld qword ptr [eax + vvar]
|
fld qword ptr [eax + vvar]
|
||||||
fmul st(2), st
|
fmul st(2), st
|
||||||
fmulp
|
fmulp
|
||||||
// mov edx, [eax + FPx]
|
fadd qword ptr [edx + 16] // FPx
|
||||||
fadd qword ptr [edx + 16]
|
|
||||||
fstp qword ptr [edx + 16]
|
fstp qword ptr [edx + 16]
|
||||||
// mov edx, [eax + FPy]
|
fadd qword ptr [edx + 24] // FPy
|
||||||
fadd qword ptr [edx + 24]
|
|
||||||
fstp qword ptr [edx + 24]
|
fstp qword ptr [edx + 24]
|
||||||
fwait
|
fwait
|
||||||
{$endif}
|
{$endif}
|
||||||
@ -303,10 +300,10 @@ asm
|
|||||||
fmulp
|
fmulp
|
||||||
// mov edx, [eax + FPx]
|
// mov edx, [eax + FPx]
|
||||||
fadd qword ptr [edx + 16] // FPx
|
fadd qword ptr [edx + 16] // FPx
|
||||||
fstp qword ptr [edx + 16] // FPx
|
fstp qword ptr [edx + 16]
|
||||||
// mov edx, [eax + FPy]
|
// mov edx, [eax + FPy]
|
||||||
fsubr qword ptr [edx + 24] // FPy
|
fsubr qword ptr [edx + 24] // FPy
|
||||||
fstp qword ptr [edx + 24] // FPy
|
fstp qword ptr [edx + 24]
|
||||||
fwait
|
fwait
|
||||||
{$endif}
|
{$endif}
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user