LLE JIT: Added simple block linking at immediate CALL's and JUMP's. The code checks if the block being jump to has already been compiled and jumps there if it has, bypassing the dispatcher. This results in a speed-up of around 7 - 10%.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6585 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau
2010-12-15 07:08:36 +00:00
parent e61133625a
commit c584bd5333
3 changed files with 40 additions and 0 deletions

View File

@ -156,9 +156,11 @@ public:
// CALL this to start the dispatcher
const u8 *enterDispatcher;
u16 compilePC;
CompiledCode *blockLinks;
private:
CompiledCode *blocks;
const u8 *blockLinkEntry;
u16 *blockSize;
u16 compileSR;