From 262ec3ed3c9fdf8f5028c55f616565266fc53e4b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 12 Mar 2023 14:04:57 +0100 Subject: Rv64 dynarec (#550) * [RV64_DYNAREC] Pushed the rv64_lock.h * [RV64_DYNAREC] Add initial support for atomic functions * [RV64_DYNAREC] Added some basic infrastructure for the Dynarec (and 1 opcode) * [RV64_DYNAREC] Add a disassembler for RV64 instructions * [RV64_DYNAREC] Added 86 MOV opcode, and some fixes too * [RV64_DYNAREC] Added 8D LEA opcode * [RV64_DYNAREC] Added POP reg opcode * [RV64_DYNAREC] Various fixes and small optims --------- Co-authored-by: Yang Liu --- src/include/dynarec_rv64.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/include/dynarec_rv64.h (limited to 'src/include') diff --git a/src/include/dynarec_rv64.h b/src/include/dynarec_rv64.h new file mode 100644 index 00000000..9abb704b --- /dev/null +++ b/src/include/dynarec_rv64.h @@ -0,0 +1,10 @@ +#ifndef __DYNAREC_RV64_H_ +#define __DYNAREC_RV64_H_ + +typedef struct dynablock_s dynablock_t; +typedef struct x64emu_s x64emu_t; + +void CancelBlock64(); +void* FillBlock64(dynablock_t* block, uintptr_t addr); + +#endif //__DYNAREC_RV64_H_ \ No newline at end of file -- cgit 1.4.1