mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-04 12:17:16 +00:00
riscv: Avoid needless save/load around compile.
This commit is contained in:
parent
165169eb31
commit
1dfedde741
@ -209,12 +209,10 @@ void RiscVJit::GenerateFixedCode(const JitOptions &jo) {
|
||||
JR(SCRATCH1);
|
||||
SetJumpTarget(skipJump);
|
||||
|
||||
// No block found, let's jit. Might be able to optimize reg/frm saving later.
|
||||
SaveStaticRegisters();
|
||||
// No block found, let's jit. We don't need to save static regs, they're all callee saved.
|
||||
RestoreRoundingMode(true);
|
||||
QuickCallFunction(SCRATCH1, &MIPSComp::JitAt);
|
||||
ApplyRoundingMode(true);
|
||||
LoadStaticRegisters();
|
||||
|
||||
// Try again, the block index should be set now.
|
||||
J(dispatcherNoCheck_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user