LLE JIT: Added an ASM dispatcher. Should help pave the way for future optimisation.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6486 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
skidau
2010-11-28 05:28:21 +00:00
parent 88916a61da
commit 6a6fb9cce9
4 changed files with 124 additions and 47 deletions

View File

@ -42,7 +42,7 @@ public:
void CompileDispatcher();
const u8 *Compile(int start_addr);
void Compile(int start_addr);
int STACKALIGN RunForCycles(int cycles);
@ -113,18 +113,14 @@ public:
void mrr(const UDSPInstruction opc);
void nx(const UDSPInstruction opc);
// CALL this to start the dispatcher
const u8 *enterDispatcher;
private:
CompiledCode *blocks;
u16 *blockSize;
u16 compileSR;
// CALL this to start the dispatcher
u8 *enterDispatcher;
// JMP here when a block should be dispatches. make sure you're in a block
// or at the same stack level already.
u8 *dispatcher;
// The index of the last stored ext value (compile time).
int storeIndex;
int storeIndex2;