From aa430608e70fe6857ef7a9d63b59525b5f261f18 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Tue, 29 Jun 2021 22:25:43 +0200 Subject: support allocating more registers for aarch64 JIT also some minor fixes for the x64 JIT as well --- src/ARMJIT_x64/ARMJIT_Compiler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ARMJIT_x64/ARMJIT_Compiler.h') diff --git a/src/ARMJIT_x64/ARMJIT_Compiler.h b/src/ARMJIT_x64/ARMJIT_Compiler.h index ff7095b..eedfc1a 100644 --- a/src/ARMJIT_x64/ARMJIT_Compiler.h +++ b/src/ARMJIT_x64/ARMJIT_Compiler.h @@ -79,7 +79,7 @@ public: void Reset(); - JitBlockEntry CompileBlock(ARM* cpu, bool thumb, FetchedInstr instrs[], int instrsCount); + JitBlockEntry CompileBlock(ARM* cpu, bool thumb, FetchedInstr instrs[], int instrsCount, bool hasMemoryInstr); void LoadReg(int reg, Gen::X64Reg nativeReg); void SaveReg(int reg, Gen::X64Reg nativeReg); @@ -192,8 +192,8 @@ public: Gen::FixupBranch CheckCondition(u32 cond); - void PushRegs(bool saveHiRegs); - void PopRegs(bool saveHiRegs); + void PushRegs(bool saveHiRegs, bool saveRegsToBeChanged, bool allowUnload = true); + void PopRegs(bool saveHiRegs, bool saveRegsToBeChanged); Gen::OpArg MapReg(int reg) { -- cgit v1.2.3