stwcxd clarification (no implementation, as of yet, let alone a JIT one)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1379 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2008-12-02 21:16:09 +00:00
parent dc3f3eb190
commit d8a26fe9e0
2 changed files with 7 additions and 2 deletions

View File

@ -593,10 +593,13 @@ void lwarx(UGeckoInstruction _inst)
void stwcxd(UGeckoInstruction _inst)
{
// This instruction, to
// This instruction, too
static bool bFirst = true;
if (bFirst)
PanicAlert("stwcxd - suspicious instruction");
// TODO: Stores Word Conditional indeXed
bFirst = false;
u32 uAddress = Helper_Get_EA_X(_inst);
Memory::Write_U32(m_GPR[_inst.RS], uAddress);

View File

@ -374,13 +374,15 @@ GekkoOPTemplate table31[] =
{598, Interpreter::sync, Jit64::DoNothing, {"sync", OPTYPE_SYSTEM, 0, 2}},
{982, Interpreter::icbi, Jit64::Default, {"icbi", OPTYPE_SYSTEM, 0, 3}},
//Unused instructions on GC
// Unused instructions on GC
{310, Interpreter::eciwx, Jit64::Default, {"eciwx", OPTYPE_INTEGER, FL_RC_BIT}},
{438, Interpreter::ecowx, Jit64::Default, {"ecowx", OPTYPE_INTEGER, FL_RC_BIT}},
{854, Interpreter::eieio, Jit64::Default, {"eieio", OPTYPE_INTEGER, FL_RC_BIT}},
{306, Interpreter::tlbie, Jit64::Default, {"tlbie", OPTYPE_SYSTEM, 0}},
{370, Interpreter::tlbia, Jit64::Default, {"tlbia", 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}},
};