[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));
|
// CALL(ProtectFunction(&CoreTiming::Idle, 0));
|
||||||
// JMP(Asm::testExceptions, true);
|
// JMP(Asm::testExceptions, true);
|
||||||
// make idle loops go faster
|
// 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);
|
WriteExit(destination, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue