about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2024-08-17 19:15:41 +0800
committerptitSeb <sebastien.chev@gmail.com>2024-08-18 10:46:15 +0200
commit5b78159cb509ee46f5337300c37c15a3948a2287 (patch)
tree242c8f760ea423e18088fed94f583acaa10d82d4 /src
parent683e44baf97e9d58de60c90fa8c54d15142e0d18 (diff)
downloadbox64-5b78159cb509ee46f5337300c37c15a3948a2287.tar.gz
box64-5b78159cb509ee46f5337300c37c15a3948a2287.zip
[RV64_DYNAREC] Added a warning on LOCK CMPXCHG16B opcode
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_f0.c1
1 files changed, 1 insertions, 0 deletions
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");
                             }