From 46ed52032dff341c0891105849e64b4273151bff Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 23 Mar 2023 19:22:12 +0000 Subject: |RV64_DYNAREC] Fixed an issue with F7 /7 IDIV opcode --- src/dynarec/rv64/dynarec_rv64_00.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit 1.4.1