about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2023-04-28 17:15:07 +0800
committerGitHub <noreply@github.com>2023-04-28 11:15:07 +0200
commitdbaee7c49ca20c9af0c0f3cabfe1ed1d72021610 (patch)
treef8ddf718cb4d92706018246aa109a389aa610672 /src
parentb6be4f8ddee560682890aa15316a1386599a08cc (diff)
downloadbox64-dbaee7c49ca20c9af0c0f3cabfe1ed1d72021610.tar.gz
box64-dbaee7c49ca20c9af0c0f3cabfe1ed1d72021610.zip
[DYNAREC_RV64] Fixed 8F POP opcode (#746)
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_00_2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_00_2.c b/src/dynarec/rv64/dynarec_rv64_00_2.c
index 6f0ef03e..806b0b6d 100644
--- a/src/dynarec/rv64/dynarec_rv64_00_2.c
+++ b/src/dynarec/rv64/dynarec_rv64_00_2.c
@@ -424,7 +424,7 @@ uintptr_t dynarec64_00_2(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int
                 POP1(xRAX+(nextop&7)+(rex.b<<3));
             } else {
                 POP1(x2); // so this can handle POP [ESP] and maybe some variant too
-                addr = geted(dyn, addr, ninst, nextop, &ed, x2, x1, &fixedaddress, rex, &lock, 1, 0);
+                addr = geted(dyn, addr, ninst, nextop, &ed, x3, x1, &fixedaddress, rex, &lock, 1, 0);
                 if(ed==xRSP) {
                     SD(x2, ed, fixedaddress);
                 } else {