From a0e71133973bb0649bba48a9e1633c5cee4ea7cb Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Sat, 17 Aug 2024 19:15:41 +0800 Subject: [RV64_DYNAREC] Added a warning on LOCK CMPXCHG16B opcode --- src/dynarec/rv64/dynarec_rv64_f0.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/dynarec/rv64/dynarec_rv64_f0.c b/src/dynarec/rv64/dynarec_rv64_f0.c index 190ce101..533b14a3 100644 --- a/src/dynarec/rv64/dynarec_rv64_f0.c +++ b/src/dynarec/rv64/dynarec_rv64_f0.c @@ -287,6 +287,7 @@ uintptr_t dynarec64_F0(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t ip, int ni case 0: if (rex.w) { INST_NAME("LOCK CMPXCHG16B Gq, Eq"); + PASS3(dynarec_log(LOG_NONE, "Warning, LOCK CMPXCHG16B is not well supported on RISC-V and issues are expected.\n")); } else { INST_NAME("LOCK CMPXCHG8B Gq, Eq"); } -- cgit 1.4.1