From 93470e0c1f31edf8f212449e6b823108b33bf901 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sat, 5 Jan 2013 19:52:11 +0100 Subject: [PATCH] Remove some old PowerPC references... --- Core/Core.cpp | 5 ----- Core/MIPS/ARM/RegCache.cpp | 2 +- Core/MIPS/x86/Asm.cpp | 13 ------------- Core/MIPS/x86/RegCache.cpp | 2 +- 4 files changed, 2 insertions(+), 20 deletions(-) diff --git a/Core/Core.cpp b/Core/Core.cpp index a94e5f8d7c..49f7846bb4 100644 --- a/Core/Core.cpp +++ b/Core/Core.cpp @@ -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(); - } } diff --git a/Core/MIPS/ARM/RegCache.cpp b/Core/MIPS/ARM/RegCache.cpp index e562f78411..30f8f4dbe3 100644 --- a/Core/MIPS/ARM/RegCache.cpp +++ b/Core/MIPS/ARM/RegCache.cpp @@ -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; diff --git a/Core/MIPS/x86/Asm.cpp b/Core/MIPS/x86/Asm.cpp index c2d57b6017..08cfa7d0c0 100644 --- a/Core/MIPS/x86/Asm.cpp +++ b/Core/MIPS/x86/Asm.cpp @@ -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(&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); diff --git a/Core/MIPS/x86/RegCache.cpp b/Core/MIPS/x86/RegCache.cpp index 2f0b99100f..145d0451ea 100644 --- a/Core/MIPS/x86/RegCache.cpp +++ b/Core/MIPS/x86/RegCache.cpp @@ -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;