mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 08:13:34 +01:00
JIT: Get rid of one memory access per dispatch, and get rid of blockcodepointers.
This commit is contained in:
1 parent
9eace8a80e
commit
2a39a3b972
10 files changed
+94
-60
No files matched your search
+5
-2
@@ -115,9 +115,12 @@ u32 Read_Instruction(u32 address)
|
||||
{
|
||||
u32 inst = Read_U32(address);
|
||||
if (MIPS_IS_EMUHACK(inst) && MIPSComp::jit)
|
||||
return MIPSComp::jit->GetBlockCache()->GetOriginalFirstOp(inst & MIPS_EMUHACK_VALUE_MASK);
|
||||
else
|
||||
{
|
||||
JitBlockCache *bc = MIPSComp::jit->GetBlockCache();
|
||||
return bc->GetOriginalFirstOp(bc->GetBlockNumberFromEmuHackOp(inst));
|
||||
} else {
|
||||
return inst;
|
||||
}
|
||||
}
|
||||
|
||||
u32 Read_Opcode_JIT(u32 address)
|
||||
|
||||
Reference in new issue
Block a user