mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 06:35:39 +00:00
PPCTables Housekeeping...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1399 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
f3fb99446d
commit
6ea10dfa22
@ -579,10 +579,9 @@ void stwbrx(UGeckoInstruction _inst)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// The following two instructions are for inter-cpu communications. On a single
|
// The following two instructions are for SMP communications. On a single
|
||||||
// CPU, they cannot
|
// CPU, they cannot fail unless an interrupt happens in between, which usually
|
||||||
// fail unless an interrupt happens in between, which usually won't happen with
|
// won't happen with the JIT.
|
||||||
// the JIT.
|
|
||||||
bool g_bReserve = false;
|
bool g_bReserve = false;
|
||||||
u32 g_reserveAddr;
|
u32 g_reserveAddr;
|
||||||
|
|
||||||
@ -597,9 +596,6 @@ void lwarx(UGeckoInstruction _inst)
|
|||||||
|
|
||||||
void stwcxd(UGeckoInstruction _inst)
|
void stwcxd(UGeckoInstruction _inst)
|
||||||
{
|
{
|
||||||
// This instruction, too
|
|
||||||
//PanicAlert("stwcxd - suspicious instruction");
|
|
||||||
|
|
||||||
// Stores Word Conditional indeXed
|
// Stores Word Conditional indeXed
|
||||||
|
|
||||||
u32 uAddress;
|
u32 uAddress;
|
||||||
@ -612,8 +608,8 @@ void stwcxd(UGeckoInstruction _inst)
|
|||||||
SetCRField(0, 2 | XER.SO);
|
SetCRField(0, 2 | XER.SO);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SetCRField(0, XER.SO);
|
SetCRField(0, XER.SO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -320,6 +320,8 @@ GekkoOPTemplate table31[] =
|
|||||||
{534, Interpreter::lwbrx, Jit64::Default, {"lwbrx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0 | FL_IN_B}},
|
{534, Interpreter::lwbrx, Jit64::Default, {"lwbrx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0 | FL_IN_B}},
|
||||||
{790, Interpreter::lhbrx, Jit64::Default, {"lhbrx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0 | FL_IN_B}},
|
{790, Interpreter::lhbrx, Jit64::Default, {"lhbrx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0 | FL_IN_B}},
|
||||||
|
|
||||||
|
// Conditional load/store (Wii SMP)
|
||||||
|
{150, Interpreter::stwcxd, Jit64::Default, {"stwcxd", OPTYPE_STORE, 0}},
|
||||||
{20, Interpreter::lwarx, Jit64::Default, {"lwarx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0B}},
|
{20, Interpreter::lwarx, Jit64::Default, {"lwarx", OPTYPE_LOAD, FL_OUT_D | FL_IN_A0B}},
|
||||||
|
|
||||||
//load string (interpret these)
|
//load string (interpret these)
|
||||||
@ -381,9 +383,6 @@ GekkoOPTemplate table31[] =
|
|||||||
{306, Interpreter::tlbie, Jit64::Default, {"tlbie", OPTYPE_SYSTEM, 0}},
|
{306, Interpreter::tlbie, Jit64::Default, {"tlbie", OPTYPE_SYSTEM, 0}},
|
||||||
{370, Interpreter::tlbia, Jit64::Default, {"tlbia", OPTYPE_SYSTEM, 0}},
|
{370, Interpreter::tlbia, Jit64::Default, {"tlbia", OPTYPE_SYSTEM, 0}},
|
||||||
{566, Interpreter::tlbsync, Jit64::Default, {"tlbsync", OPTYPE_SYSTEM, 0}},
|
{566, Interpreter::tlbsync, Jit64::Default, {"tlbsync", OPTYPE_SYSTEM, 0}},
|
||||||
|
|
||||||
// Instructions used on Wii and thought not to be used by a Gekko
|
|
||||||
{150, Interpreter::stwcxd, Jit64::Default, {"stwcxd", OPTYPE_STORE, 0}},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
GekkoOPTemplate table31_2[] =
|
GekkoOPTemplate table31_2[] =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user