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:
parent
dc3f3eb190
commit
d8a26fe9e0
|
@ -593,10 +593,13 @@ void lwarx(UGeckoInstruction _inst)
|
||||||
|
|
||||||
void stwcxd(UGeckoInstruction _inst)
|
void stwcxd(UGeckoInstruction _inst)
|
||||||
{
|
{
|
||||||
// This instruction, to
|
// This instruction, too
|
||||||
static bool bFirst = true;
|
static bool bFirst = true;
|
||||||
if (bFirst)
|
if (bFirst)
|
||||||
PanicAlert("stwcxd - suspicious instruction");
|
PanicAlert("stwcxd - suspicious instruction");
|
||||||
|
|
||||||
|
// TODO: Stores Word Conditional indeXed
|
||||||
|
|
||||||
bFirst = false;
|
bFirst = false;
|
||||||
u32 uAddress = Helper_Get_EA_X(_inst);
|
u32 uAddress = Helper_Get_EA_X(_inst);
|
||||||
Memory::Write_U32(m_GPR[_inst.RS], uAddress);
|
Memory::Write_U32(m_GPR[_inst.RS], uAddress);
|
||||||
|
|
|
@ -381,6 +381,8 @@ 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}},
|
{150, Interpreter::stwcxd, Jit64::Default, {"stwcxd", OPTYPE_STORE, 0}},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue