aboutsummaryrefslogtreecommitdiff
path: root/src/ARMJIT_x64/ARMJIT_Compiler.h
diff options
context:
space:
mode:
authorRSDuck <RSDuck@users.noreply.github.com>2021-06-29 22:25:43 +0200
committerRSDuck <RSDuck@users.noreply.github.com>2021-06-29 22:25:43 +0200
commitaa430608e70fe6857ef7a9d63b59525b5f261f18 (patch)
tree67150e58c2e47e4026222dbe454ffc49a644842b /src/ARMJIT_x64/ARMJIT_Compiler.h
parentdd53b01f761a6801e7922c993e81048f2c6d7c0a (diff)
support allocating more registers for aarch64 JIT
also some minor fixes for the x64 JIT as well
Diffstat (limited to 'src/ARMJIT_x64/ARMJIT_Compiler.h')
-rw-r--r--src/ARMJIT_x64/ARMJIT_Compiler.h6
1 files changed, 3 insertions, 3 deletions
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)
{