diff options
author | RSDuck <RSDuck@users.noreply.github.com> | 2020-05-09 14:34:52 +0200 |
---|---|---|
committer | RSDuck <rsduck@users.noreply.github.com> | 2020-06-16 12:01:09 +0200 |
commit | 80b88dbd05a66ad50108778d5f36e17f5b1cd661 (patch) | |
tree | 5631884f4aee655b535b498c72e96a2601a28397 /src/ARMJIT_x64/ARMJIT_Compiler.h | |
parent | 052ff7367211728209d6eb5f8f0f6d02cfab321e (diff) |
allow allocating caller saved registers
currently system-v only
Diffstat (limited to 'src/ARMJIT_x64/ARMJIT_Compiler.h')
-rw-r--r-- | src/ARMJIT_x64/ARMJIT_Compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ARMJIT_x64/ARMJIT_Compiler.h b/src/ARMJIT_x64/ARMJIT_Compiler.h index 9df218b..f2fc301 100644 --- a/src/ARMJIT_x64/ARMJIT_Compiler.h +++ b/src/ARMJIT_x64/ARMJIT_Compiler.h @@ -168,6 +168,9 @@ public: Gen::FixupBranch CheckCondition(u32 cond); + void PushRegs(bool saveHiRegs); + void PopRegs(bool saveHiRegs); + Gen::OpArg MapReg(int reg) { if (reg == 15 && RegCache.Mapping[reg] == Gen::INVALID_REG) |