diff options
| author | skidau <skidau@gmail.com> | 2010-12-26 12:34:38 +0000 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2010-12-26 12:34:38 +0000 |
| commit | 963ca6f9632fd54811fb369dc4294061417a7947 (patch) | |
| tree | 54d68773bca4a1e60fa3da3989549efe0280d277 /Source/Core/DSPCore/Src/DSPEmitter.cpp | |
| parent | 7c5b12c5bced517e6db4c5a2ed8d14e853d5c490 (diff) | |
LLE JIT: Added the loop instructions to the JIT. Added ASM version of HandleLoop. Both x86 and x64 versions have been added.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6659 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPEmitter.cpp')
| -rw-r--r-- | Source/Core/DSPCore/Src/DSPEmitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DSPCore/Src/DSPEmitter.cpp b/Source/Core/DSPCore/Src/DSPEmitter.cpp index ea4b8a86e7..02e48b0312 100644 --- a/Source/Core/DSPCore/Src/DSPEmitter.cpp +++ b/Source/Core/DSPCore/Src/DSPEmitter.cpp @@ -299,7 +299,7 @@ void DSPEmitter::Compile(int start_addr) MOVZX(32, 16, EAX, MDisp(R11,DSP_REG_ST2*2)); #endif CMP(32, R(EAX), Imm32(0)); - FixupBranch rLoopAddressExit = J_CC(CC_LE); + FixupBranch rLoopAddressExit = J_CC(CC_LE, true); #ifdef _M_IX86 // All32 MOVZX(32, 16, EAX, M(&(g_dsp.r[DSP_REG_ST3]))); @@ -307,7 +307,7 @@ void DSPEmitter::Compile(int start_addr) MOVZX(32, 16, EAX, MDisp(R11,DSP_REG_ST3*2)); #endif CMP(32, R(EAX), Imm32(0)); - FixupBranch rLoopCounterExit = J_CC(CC_LE); + FixupBranch rLoopCounterExit = J_CC(CC_LE, true); if (!opcode->branch) { @@ -322,7 +322,7 @@ void DSPEmitter::Compile(int start_addr) // These functions branch and therefore only need to be called in the // end of each block and in this order - ABI_CallFunction((void *)&DSPInterpreter::HandleLoop); + HandleLoop(); // ABI_RestoreStack(0); ABI_PopAllCalleeSavedRegsAndAdjustStack(); if (DSPAnalyzer::code_flags[start_addr] & DSPAnalyzer::CODE_IDLE_SKIP) |
