diff --git a/src/core.c b/src/core.c index 253b7dc94..ebc959401 100644 --- a/src/core.c +++ b/src/core.c @@ -989,10 +989,10 @@ void LoadLogEnv() } if(box64_dynarec_test_end>box64_dynarec_test_start) { box64_dynarec_test = 1; - printf_log(LOG_INFO, "Dynarec test in the range %p - %p\n", (void*)box64_nodynarec_start, (void*)box64_nodynarec_end); + printf_log(LOG_INFO, "Dynarec test in the range %p - %p\n", (void*)box64_dynarec_test_start, (void*)box64_dynarec_test_end); } else { box64_dynarec_test = 0; - printf_log(LOG_INFO, "Ignoring BOX64_NODYNAREC=%s (%p-%p)\n", p, (void*)box64_nodynarec_start, (void*)box64_nodynarec_end); + printf_log(LOG_INFO, "Ignoring BOX64_NODYNAREC=%s (%p-%p)\n", p, (void*)box64_dynarec_test_start, (void*)box64_dynarec_test_end); } } diff --git a/src/dynarec/rv64/dynarec_rv64_f0.c b/src/dynarec/rv64/dynarec_rv64_f0.c index 7545b1ce1..8de28e36b 100644 --- a/src/dynarec/rv64/dynarec_rv64_f0.c +++ b/src/dynarec/rv64/dynarec_rv64_f0.c @@ -374,7 +374,7 @@ uintptr_t dynarec64_F0(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int ni SMDMB(); B_NEXT_nocond; MARK; - SLLI(xRDX, x2, 32); + SRLI(xRDX, x2, 32); ZEXTW2(xRAX, x2); SMDMB(); B_NEXT_nocond; @@ -392,7 +392,7 @@ uintptr_t dynarec64_F0(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int ni SMDMB(); B_NEXT_nocond; MARK2; - SLLI(xRDX, x2, 32); + SRLI(xRDX, x2, 32); ZEXTW2(xRAX, x2); SMDMB(); break;