* fixed InterlockedCompareExchange(64) of x86_64.inc (I dont know if win64 version is wrong also!)

git-svn-id: trunk@6751 -
This commit is contained in:
ivost 2007-03-08 22:27:34 +00:00
parent fc0f2f3de6
commit f1e218ffe0

View File

@ -486,9 +486,9 @@ asm
lock
cmpxchgl %r8d,(%rcx)
{$else win64}
movl %esi,%eax
movl %edx,%eax
lock
cmpxchgl %edx,(%rdi)
cmpxchgl %esi,(%rdi)
{$endif win64}
end;
@ -558,9 +558,9 @@ asm
lock
cmpxchgq %r8d,(%rcx)
{$else win64}
movq %rsi,%rax
movq %rdx,%rax
lock
cmpxchgq %rdx,(%rdi)
cmpxchgq %rsi,(%rdi)
{$endif win64}
end;