mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 14:29:25 +02:00
* 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:
parent
fc0f2f3de6
commit
f1e218ffe0
@ -486,9 +486,9 @@ asm
|
|||||||
lock
|
lock
|
||||||
cmpxchgl %r8d,(%rcx)
|
cmpxchgl %r8d,(%rcx)
|
||||||
{$else win64}
|
{$else win64}
|
||||||
movl %esi,%eax
|
movl %edx,%eax
|
||||||
lock
|
lock
|
||||||
cmpxchgl %edx,(%rdi)
|
cmpxchgl %esi,(%rdi)
|
||||||
{$endif win64}
|
{$endif win64}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -558,9 +558,9 @@ asm
|
|||||||
lock
|
lock
|
||||||
cmpxchgq %r8d,(%rcx)
|
cmpxchgq %r8d,(%rcx)
|
||||||
{$else win64}
|
{$else win64}
|
||||||
movq %rsi,%rax
|
movq %rdx,%rax
|
||||||
lock
|
lock
|
||||||
cmpxchgq %rdx,(%rdi)
|
cmpxchgq %rsi,(%rdi)
|
||||||
{$endif win64}
|
{$endif win64}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user