Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DSPJIT: the shift value must still be loaded into the correct register
Fixes issue 6295
  • Loading branch information
pierrewillenbrock committed May 10, 2013
1 parent f348712 commit 82cd91e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp
Expand Up @@ -1563,6 +1563,7 @@ void DSPEmitter::lsrn(const UDSPInstruction opc)
FixupBranch noShift = J_CC(CC_Z);
//CL gets automatically masked with 0x3f on IA32/AMD64
//MOVZX(64, 16, RCX, R(RAX));
MOV(64, R(RCX), R(RAX));
//AND(16, R(RCX), Imm16(0x3f));
TEST(16, R(RAX), Imm16(0x40));
FixupBranch shiftLeft = J_CC(CC_Z);
Expand Down

0 comments on commit 82cd91e

Please sign in to comment.