Remove some old PowerPC references...

This commit is contained in:
Henrik Rydgard 2013-01-05 19:52:11 +01:00
parent 67663d51b8
commit 93470e0c1f
4 changed files with 2 additions and 20 deletions

View file

@ -126,8 +126,6 @@ void Core_EnableStepping(bool step)
{
if (step)
{
//PowerPC::Pause();
// Sleep(1);
sleep_ms(1);
#if defined(_DEBUG)
host->SetDebugMode(true);
@ -140,9 +138,6 @@ void Core_EnableStepping(bool step)
host->SetDebugMode(false);
#endif
coreState = CORE_RUNNING;
//PowerPC::Start();
///SetEvent(m_hStepEvent); //TODO: pulseevent is flawed and can be lost
m_hStepEvent.notify_one();
}
}

View file

@ -72,7 +72,7 @@ void RegCache::Start(MIPSState *mips, MIPSAnalyst::AnalysisResults &stats)
//But only preload IF written OR reads >= 3
}
// these are powerpc reg indices
// these are MIPS reg indices
void RegCache::Lock(int p1, int p2, int p3, int p4)
{
locks[p1] = true;

View file

@ -88,19 +88,6 @@ void AsmRoutineManager::Generate(MIPSState *mips, MIPSComp::Jit *jit)
// The result of slice decrementation should be in flags if somebody jumped here
// IMPORTANT - We jump on negative, not carry!!!
FixupBranch bail = J_CC(CC_BE, true);
/*
if (Core::g_CoreStartupParameter.bEnableDebugging)
{
TEST(32, M((void*)PowerPC::GetStatePtr()), Imm32(PowerPC::CPU_STEPPING));
FixupBranch notStepping = J_CC(CC_Z);
ABI_CallFunction(reinterpret_cast<void *>(&PowerPC::CheckBreakPoints));
TEST(32, M((void*)PowerPC::GetStatePtr()), Imm32(0xFFFFFFFF));
FixupBranch noBreakpoint = J_CC(CC_Z);
ABI_PopAllCalleeSavedRegsAndAdjustStack();
RET();
SetJumpTarget(noBreakpoint);
SetJumpTarget(notStepping);
}*/
SetJumpTarget(skipToRealDispatch);

View file

@ -81,7 +81,7 @@ void RegCache::Start(MIPSState *mips, MIPSAnalyst::AnalysisResults &stats)
//But only preload IF written OR reads >= 3
}
// these are powerpc reg indices
// these are MIPS reg indices
void RegCache::Lock(int p1, int p2, int p3, int p4)
{
locks[p1] = true;