File tree Expand file tree Collapse file tree
Source/Core/Core/PowerPC/Jit64 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -682,7 +682,7 @@ void Jit64::boolX(UGeckoInstruction inst)
682682 const bool is_xor = (inst.SUBOP10 == 316 /* xorx */ ) || (inst.SUBOP10 == 284 /* eqvx */ );
683683
684684 // Precompute complement when possible
685- if (complement_b && gpr.IsImm (b) || (inst.SUBOP10 == 284 /* eqvx */ ))
685+ if (( complement_b && gpr.IsImm (b) ) || (inst.SUBOP10 == 284 /* eqvx */ ))
686686 {
687687 imm = ~imm;
688688 complement_b = false ;
@@ -706,7 +706,9 @@ void Jit64::boolX(UGeckoInstruction inst)
706706 NOT (32 , Ra);
707707 }
708708 else if (a == j)
709+ {
709710 XOR (32 , Ra, Imm32 (imm));
711+ }
710712 else if (s32 (imm) >= -128 && s32 (imm) <= 127 )
711713 {
712714 MOV (32 , Ra, Rj);
@@ -721,7 +723,9 @@ void Jit64::boolX(UGeckoInstruction inst)
721723 else if (is_and)
722724 {
723725 if (imm == 0 )
726+ {
724727 gpr.SetImmediate32 (a, final_not ? 0xFFFFFFFF : 0 );
728+ }
725729 else
726730 {
727731 RCOpArg Rj = gpr.Use (j, RCMode::Read);
@@ -746,7 +750,9 @@ void Jit64::boolX(UGeckoInstruction inst)
746750 else
747751 {
748752 if (a == j)
753+ {
749754 AND (32 , Ra, Imm32 (imm));
755+ }
750756 else if (s32 (imm) >= -128 && s32 (imm) <= 127 )
751757 {
752758 MOV (32 , Ra, Rj);
@@ -790,7 +796,9 @@ void Jit64::boolX(UGeckoInstruction inst)
790796 else
791797 {
792798 if (a == j)
799+ {
793800 OR (32 , Ra, Imm32 (imm));
801+ }
794802 else if (s32 (imm) >= -128 && s32 (imm) <= 127 )
795803 {
796804 MOV (32 , Ra, Rj);
You can’t perform that action at this time.
0 commit comments