Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Sonicadvance1 committed Aug 18, 2013
1 parent d6fe9c6 commit 7294fe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Core/Src/PowerPC/PPCTables.cpp
Expand Up @@ -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);
}
}
Expand All @@ -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);
}
}
Expand Down
4 changes: 0 additions & 4 deletions Source/Core/Core/Src/PowerPC/PPCTables.h
Expand Up @@ -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;
};
Expand Down

0 comments on commit 7294fe5

Please sign in to comment.