jit: LDM/STM finally(!) working + MUL, MLA and CLZ

This commit is contained in:
RSDuck
2019-07-12 03:43:45 +02:00
parent 83bd863361
commit f22521a43d
6 changed files with 279 additions and 47 deletions

View File

@ -81,8 +81,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;