aboutsummaryrefslogtreecommitdiff
path: root/src/ARM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ARM.cpp')
-rw-r--r--src/ARM.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ARM.cpp b/src/ARM.cpp
index aca876d..a77fbc4 100644
--- a/src/ARM.cpp
+++ b/src/ARM.cpp
@@ -80,8 +80,15 @@ ARMv4::ARMv4() : ARM(1)
//
}
+namespace ARMJIT {extern int instructionPopularityARM[ARMInstrInfo::ak_Count];}
+
void ARM::Reset()
{
+ FILE* blabla = fopen("fhhg", "w");
+ for (int i = 0; i < ARMInstrInfo::ak_Count; i++)
+ fprintf(blabla, "%d -> %dx\n", i, ARMJIT::instructionPopularityARM[i]);
+ fclose(blabla);
+
Cycles = 0;
Halted = 0;