Fix an extremely silly copy-paste error.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4727 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
45307b7b38
commit
eddafd450e
|
@ -443,7 +443,7 @@ InstLoc IRBuilder::FoldXor(InstLoc Op1, InstLoc Op2) {
|
|||
return FoldXor(getOp1(Op1), EmitIntConst(RHS));
|
||||
}
|
||||
}
|
||||
if (Op1 == Op2) return Op1;
|
||||
if (Op1 == Op2) return EmitIntConst(0);
|
||||
|
||||
return EmitBiOp(Xor, Op1, Op2);
|
||||
}
|
||||
|
|
|
@ -146,13 +146,6 @@ void Jit64::xorx(UGeckoInstruction inst)
|
|||
{
|
||||
INSTRUCTION_START
|
||||
JITDISABLE(Integer)
|
||||
if (inst.RB == inst.RS)
|
||||
{
|
||||
IREmitter::InstLoc val = ibuild.EmitStoreGReg(ibuild.EmitIntConst(0), inst.RA);
|
||||
if (inst.Rc)
|
||||
ComputeRC(ibuild, val);
|
||||
return;
|
||||
}
|
||||
IREmitter::InstLoc val = ibuild.EmitLoadGReg(inst.RB);
|
||||
val = ibuild.EmitXor(ibuild.EmitLoadGReg(inst.RS), val);
|
||||
ibuild.EmitStoreGReg(val, inst.RA);
|
||||
|
|
Loading…
Reference in New Issue