mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-05 22:10:27 +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
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user