mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-30 15:32:47 +00:00
crXXX: Remove unnecessary CRBA == CRBD constraint for crclr and crset
This commit is contained in:
parent
3fa81f39fb
commit
07c146e7e2
@ -553,14 +553,14 @@ void Jit64::crXXX(UGeckoInstruction inst)
|
||||
DEBUG_ASSERT_MSG(DYNA_REC, inst.OPCD == 19, "Invalid crXXX");
|
||||
|
||||
// Special case: crclr
|
||||
if (inst.CRBA == inst.CRBB && inst.CRBA == inst.CRBD && inst.SUBOP10 == 193)
|
||||
if (inst.CRBA == inst.CRBB && inst.SUBOP10 == 193)
|
||||
{
|
||||
ClearCRFieldBit(inst.CRBD >> 2, 3 - (inst.CRBD & 3));
|
||||
return;
|
||||
}
|
||||
|
||||
// Special case: crset
|
||||
if (inst.CRBA == inst.CRBB && inst.CRBA == inst.CRBD && inst.SUBOP10 == 289)
|
||||
if (inst.CRBA == inst.CRBB && inst.SUBOP10 == 289)
|
||||
{
|
||||
SetCRFieldBit(inst.CRBD >> 2, 3 - (inst.CRBD & 3));
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user