|
|
@ -35,7 +35,7 @@ |
|
|
# include "dynarmic/backend/riscv64/code_block.h"
|
|
|
# include "dynarmic/backend/riscv64/code_block.h"
|
|
|
#elif defined(ARCHITECTURE_loongarch64)
|
|
|
#elif defined(ARCHITECTURE_loongarch64)
|
|
|
# include "dynarmic/backend/loongarch64/code_block.h"
|
|
|
# include "dynarmic/backend/loongarch64/code_block.h"
|
|
|
#elif defined(ARCHITECTURE_ppc64)
|
|
|
|
|
|
|
|
|
#elif defined(ARCHITECTURE_powerpc64)
|
|
|
# include "dynarmic/backend/ppc64/code_block.h"
|
|
|
# include "dynarmic/backend/ppc64/code_block.h"
|
|
|
#else
|
|
|
#else
|
|
|
# error "Invalid architecture"
|
|
|
# error "Invalid architecture"
|
|
|
@ -233,7 +233,7 @@ void ExceptionHandler::Register(RV64::CodeBlock& mem, std::size_t size) { |
|
|
void ExceptionHandler::Register(LoongArch64::CodeBlock& mem, std::size_t size) { |
|
|
void ExceptionHandler::Register(LoongArch64::CodeBlock& mem, std::size_t size) { |
|
|
impl = std::make_unique<Impl>(std::bit_cast<u64>(mem.ptr<u64>()), size); |
|
|
impl = std::make_unique<Impl>(std::bit_cast<u64>(mem.ptr<u64>()), size); |
|
|
} |
|
|
} |
|
|
#elif defined(ARCHITECTURE_ppc64)
|
|
|
|
|
|
|
|
|
#elif defined(ARCHITECTURE_powerpc64)
|
|
|
void ExceptionHandler::Register(PPC64::CodeBlock& mem, std::size_t size) { |
|
|
void ExceptionHandler::Register(PPC64::CodeBlock& mem, std::size_t size) { |
|
|
impl = std::make_unique<Impl>(std::bit_cast<u64>(mem.ptr<u64>()), size); |
|
|
impl = std::make_unique<Impl>(std::bit_cast<u64>(mem.ptr<u64>()), size); |
|
|
} |
|
|
} |
|
|
|