mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
[ARM] Minor idle skip optimization in bx.
This commit is contained in:
parent
56685c396a
commit
948ace9546
@ -145,7 +145,12 @@ void JitArm::bx(UGeckoInstruction inst)
|
||||
// CALL(ProtectFunction(&CoreTiming::Idle, 0));
|
||||
// JMP(Asm::testExceptions, true);
|
||||
// make idle loops go faster
|
||||
js.downcountAmount += 8;
|
||||
MOVI2R(R14, (u32)&CoreTiming::Idle);
|
||||
BL(R14);
|
||||
MOVI2R(R14, js.compilerPC);
|
||||
STR(R14, R9, PPCSTATE_OFF(pc));
|
||||
MOVI2R(R14, (u32)asm_routines.testExceptions);
|
||||
B(R14);
|
||||
}
|
||||
WriteExit(destination, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user