JIT: most mem instructions working

+ branching
This commit is contained in:
RSDuck
2019-07-06 01:48:42 +02:00
parent 5f932cdf48
commit 2c44bf927c
10 changed files with 669 additions and 702 deletions

View File

@ -522,8 +522,9 @@ void ARMv5::Execute()
ARMJIT::CompiledBlock block = ARMJIT::LookUpBlock(0, R[15] - ((CPSR&0x20)?2:4));
if (block == NULL)
block = ARMJIT::CompileBlock(this);
Cycles += block();
ARMJIT::CompileBlock(this);
else
Cycles += block();
// TODO optimize this shit!!!
if (Halted)
@ -607,8 +608,9 @@ void ARMv4::Execute()
ARMJIT::CompiledBlock block = ARMJIT::LookUpBlock(1, R[15] - ((CPSR&0x20)?2:4));
if (block == NULL)
block = ARMJIT::CompileBlock(this);
Cycles += block();
ARMJIT::CompileBlock(this);
else
Cycles += block();
// TODO optimize this shit!!!
if (Halted)