mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 00:09:32 +02:00
* fixed wrong operands of swp
git-svn-id: trunk@5072 -
This commit is contained in:
parent
81a4547901
commit
69ae03d6bc
@ -233,7 +233,8 @@ end;
|
||||
|
||||
function InterLockedExchange (var Target: longint;Source : longint) : longint; assembler; nostackframe;
|
||||
asm
|
||||
swp r0, r1, [r0]
|
||||
swp r1, r1, [r0]
|
||||
mov r0,r1
|
||||
end;
|
||||
|
||||
function InterLockedExchangeAdd (var Target: longint;Source : longint) : longint; assembler; nostackframe;
|
||||
|
Loading…
Reference in New Issue
Block a user