mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01: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");
|
DEBUG_ASSERT_MSG(DYNA_REC, inst.OPCD == 19, "Invalid crXXX");
|
||||||
|
|
||||||
// Special case: crclr
|
// 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));
|
ClearCRFieldBit(inst.CRBD >> 2, 3 - (inst.CRBD & 3));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Special case: crset
|
// 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));
|
SetCRFieldBit(inst.CRBD >> 2, 3 - (inst.CRBD & 3));
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user