diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-03-23 19:22:12 +0000 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-03-23 19:22:12 +0000 |
| commit | 46ed52032dff341c0891105849e64b4273151bff (patch) | |
| tree | 87b03c62622c705fbeaf3bf2b3f9b7ee933ec404 /src | |
| parent | 345a52b1538facefb5430922ca7503c2bc897b32 (diff) | |
| download | box64-46ed52032dff341c0891105849e64b4273151bff.tar.gz box64-46ed52032dff341c0891105849e64b4273151bff.zip | |
|RV64_DYNAREC] Fixed an issue with F7 /7 IDIV opcode
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynarec/rv64/dynarec_rv64_00.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_00.c b/src/dynarec/rv64/dynarec_rv64_00.c index 4a27a396..b4b794fb 100644 --- a/src/dynarec/rv64/dynarec_rv64_00.c +++ b/src/dynarec/rv64/dynarec_rv64_00.c @@ -1474,7 +1474,7 @@ uintptr_t dynarec64_00(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int ni GETED(0); DIV(x2, xRAX, ed); REM(xRDX, xRAX, ed); - AND(xRAX, x2, xMASK); + MV(xRAX, x2); } else { GETEDH(x1, 0); // get edd changed addr, so cannot be called 2 times for same op... //Need to see if RDX==0 and RAX not signed |