summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@Gmail.com>2013-08-18 00:15:29 +0000
committerRyan Houdek <Sonicadvance1@Gmail.com>2013-08-18 00:15:47 +0000
commit7294fe5a3f8b98ba3b76f1cae03282bffe6dc09d (patch)
treef578f4f4ac7e4b1952a4c30680fd9bcd70ec42b7 /Source
parentd6fe9c639b6e86db8fa38ba9a1f3163fb8ec9bcd (diff)
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Src/PowerPC/PPCTables.cpp4
-rw-r--r--Source/Core/Core/Src/PowerPC/PPCTables.h4
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;
};