From 963ca6f9632fd54811fb369dc4294061417a7947 Mon Sep 17 00:00:00 2001 From: skidau Date: Sun, 26 Dec 2010 12:34:38 +0000 Subject: 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 --- Source/Core/DSPCore/Src/DspIntBranch.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/DSPCore/Src/DspIntBranch.cpp') diff --git a/Source/Core/DSPCore/Src/DspIntBranch.cpp b/Source/Core/DSPCore/Src/DspIntBranch.cpp index 3a473aa204..bddb3b36cf 100644 --- a/Source/Core/DSPCore/Src/DspIntBranch.cpp +++ b/Source/Core/DSPCore/Src/DspIntBranch.cpp @@ -142,7 +142,7 @@ void halt(const UDSPInstruction opc) // instructions. Whenever there is value on stack $st2 and current PC is equal // value at $st2, then value at stack $st3 is decremented. If value is not zero // then PC is modified with value from call stack $st0. Otherwise values from -// call stack $st0 and both loop stacks $st2 and $st3 are poped and execution +// call stack $st0 and both loop stacks $st2 and $st3 are popped and execution // continues at next opcode. void HandleLoop() { @@ -225,7 +225,7 @@ void loopi(const UDSPInstruction opc) // specified address addrA inclusive, ie. opcode at addrA is the last opcode // included in loop. Counter is pushed on loop stack $st3, end of block address // is pushed on loop stack $st2 and repeat address is pushed on call stack $st0. -// Up to 4 nested loops is allowed. +// Up to 4 nested loops are allowed. void bloop(const UDSPInstruction opc) { u16 reg = opc & 0x1f; @@ -253,7 +253,7 @@ void bloop(const UDSPInstruction opc) // address addrA inclusive, ie. opcode at addrA is the last opcode included in // loop. Counter is pushed on loop stack $st3, end of block address is pushed // on loop stack $st2 and repeat address is pushed on call stack $st0. Up to 4 -// nested loops is allowed. +// nested loops are allowed. void bloopi(const UDSPInstruction opc) { u16 cnt = opc & 0xff; -- cgit v1.2.3