diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-04-11 10:41:55 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-04-11 10:41:55 +0200 |
| commit | 5d69ed5f4a746b2c30b57fcf40d3a9d05a2a92e1 (patch) | |
| tree | 7c089bb67d82af2c8bc016b0bd19734932605154 /src | |
| parent | 81d13a8e0b74e2dae9a2470d4dfb0980bdbead29 (diff) | |
| download | box64-5d69ed5f4a746b2c30b57fcf40d3a9d05a2a92e1.tar.gz box64-5d69ed5f4a746b2c30b57fcf40d3a9d05a2a92e1.zip | |
[DYNAREC] Fixed arm64_lock_storeifref function
Diffstat (limited to 'src')
| -rwxr-xr-x | src/dynarec/arm64_lock.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dynarec/arm64_lock.S b/src/dynarec/arm64_lock.S index 9f89b4e2..330b5569 100755 --- a/src/dynarec/arm64_lock.S +++ b/src/dynarec/arm64_lock.S @@ -106,9 +106,10 @@ arm64_lock_storeifref: ldaxr x3, [x0] cmp x2, x3 bne arm64_lock_storeifref_exit - mov x2, x1 - stlxr w4, x2, [x0] + stlxr w4, x1, [x0] cbnz w4, arm64_lock_storeifref + mov x0, x1 + ret arm64_lock_storeifref_exit: mov x0, x2 ret |