From 07c146e7e2c244b6a217fa9f07139f7e116649b6 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 21 Dec 2018 11:03:03 +0000 Subject: [PATCH] crXXX: Remove unnecessary CRBA == CRBD constraint for crclr and crset --- Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp b/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp index 2ff1c37986..f9eeb83e13 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp @@ -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;