Skip to content
Permalink
Browse files
Merge pull request #6520 from lioncash/oe-precedence
Interpreter_Integer: Correct precedence of overflow check in nego
  • Loading branch information
delroth committed Mar 25, 2018
2 parents 328ac42 + 89df65a commit b68952f
Showing 1 changed file with 3 additions and 3 deletions.
@@ -591,11 +591,11 @@ void Interpreter::negx(UGeckoInstruction inst)

rGPR[inst.RD] = (~a) + 1;

if (inst.Rc)
Helper_UpdateCR0(rGPR[inst.RD]);

if (inst.OE)
PowerPC::SetXER_OV(a == 0x80000000);

if (inst.Rc)
Helper_UpdateCR0(rGPR[inst.RD]);
}

void Interpreter::subfx(UGeckoInstruction inst)

0 comments on commit b68952f

Please sign in to comment.