From 7294fe5a3f8b98ba3b76f1cae03282bffe6dc09d Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 18 Aug 2013 00:15:29 +0000 Subject: [PATCH] Change per instruction run counts to u64 on all platforms. JIT64 and JITIL runcount isn't implemented properly(and is disabled) so this doesn't effect them. --- Source/Core/Core/Src/PowerPC/PPCTables.cpp | 4 ++-- Source/Core/Core/Src/PowerPC/PPCTables.h | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/PPCTables.cpp b/Source/Core/Core/Src/PowerPC/PPCTables.cpp index 9b3d74ffff..6599a58d4f 100644 --- a/Source/Core/Core/Src/PowerPC/PPCTables.cpp +++ b/Source/Core/Core/Src/PowerPC/PPCTables.cpp @@ -213,7 +213,7 @@ void LogCompiledInstructions() { if (m_allInstructions[i]->compileCount > 0) { - fprintf(f.GetHandle(), "%s\t%i\t%i\t%08x\n", m_allInstructions[i]->opname, + fprintf(f.GetHandle(), "%s\t%i\t%lld\t%08x\n", m_allInstructions[i]->opname, m_allInstructions[i]->compileCount, m_allInstructions[i]->runCount, m_allInstructions[i]->lastUse); } } @@ -223,7 +223,7 @@ void LogCompiledInstructions() { if (m_allInstructions[i]->compileCount == 0) { - fprintf(f.GetHandle(), "%s\t%i\t%i\n", m_allInstructions[i]->opname, + fprintf(f.GetHandle(), "%s\t%i\t%lld\n", m_allInstructions[i]->opname, m_allInstructions[i]->compileCount, m_allInstructions[i]->runCount); } } diff --git a/Source/Core/Core/Src/PowerPC/PPCTables.h b/Source/Core/Core/Src/PowerPC/PPCTables.h index 5b4fb5d11c..4a32f5515c 100644 --- a/Source/Core/Core/Src/PowerPC/PPCTables.h +++ b/Source/Core/Core/Src/PowerPC/PPCTables.h @@ -77,11 +77,7 @@ struct GekkoOPInfo int type; int flags; int numCyclesMinusOne; -#ifdef _M_ARM u64 runCount; -#else - int runCount; -#endif int compileCount; u32 lastUse; };