JIT: most mem instructions working

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

View File

@ -565,8 +565,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)
@ -650,8 +651,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)