Permalink
Browse files

Merge pull request #7315 from delroth/crset-fix

Jit64: fix crset implementation
  • Loading branch information...
delroth committed Aug 11, 2018
2 parents b382310 + c8d4fa5 commit 91edc9524331734093a7456190976da263174754
Showing with 3 additions and 3 deletions.
  1. +3 −3 Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp
@@ -131,7 +131,7 @@ void Jit64::SetCRFieldBit(int field, int bit)
switch (bit)
{
case PowerPC::CR_SO_BIT:
BTS(64, PPCSTATE(cr_val[field]), Imm8(61));
BTS(64, R(RSCRATCH), Imm8(61));
break;
case PowerPC::CR_EQ_BIT:
@@ -140,11 +140,11 @@ void Jit64::SetCRFieldBit(int field, int bit)
break;
case PowerPC::CR_GT_BIT:
BTR(64, PPCSTATE(cr_val[field]), Imm8(63));
BTR(64, R(RSCRATCH), Imm8(63));
break;
case PowerPC::CR_LT_BIT:
BTS(64, PPCSTATE(cr_val[field]), Imm8(62));
BTS(64, R(RSCRATCH), Imm8(62));
break;
}

0 comments on commit 91edc95

Please sign in to comment.