mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-10 21:44:28 +00:00
[ARM] Implement the Acid test in the JIT core. This test is currently broken in JIT64 since it uses cr instead of cr_fast.
This commit is contained in:
parent
e6b35642df
commit
6f73162df4
@ -135,9 +135,11 @@ void JitArm::bx(UGeckoInstruction inst)
|
|||||||
else
|
else
|
||||||
destination = js.compilerPC + SignExt26(inst.LI << 2);
|
destination = js.compilerPC + SignExt26(inst.LI << 2);
|
||||||
#ifdef ACID_TEST
|
#ifdef ACID_TEST
|
||||||
// TODO: Not implemented yet.
|
if (inst.LK)
|
||||||
//if (inst.LK)
|
{
|
||||||
//AND(32, M(&PowerPC::ppcState.cr), Imm32(~(0xFF000000)));
|
MOV(R14, 0);
|
||||||
|
STRB(R14, R9, PPCSTATE_OFF(cr_fast[0]));
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
if (destination == js.compilerPC)
|
if (destination == js.compilerPC)
|
||||||
{
|
{
|
||||||
@ -329,8 +331,11 @@ void JitArm::bclrx(UGeckoInstruction inst)
|
|||||||
// This below line can be used to prove that blr "eats flags" in practice.
|
// This below line can be used to prove that blr "eats flags" in practice.
|
||||||
// This observation will let us do a lot of fun observations.
|
// This observation will let us do a lot of fun observations.
|
||||||
#ifdef ACID_TEST
|
#ifdef ACID_TEST
|
||||||
// TODO: Not yet implemented
|
if (inst.LK)
|
||||||
// AND(32, M(&PowerPC::ppcState.cr), Imm32(~(0xFF000000)));
|
{
|
||||||
|
MOV(R14, 0);
|
||||||
|
STRB(R14, R9, PPCSTATE_OFF(cr_fast[0]));
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//MOV(32, R(EAX), M(&LR));
|
//MOV(32, R(EAX), M(&LR));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user