mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 10:13:43 +01:00
Use ANDI2R instead of a BIC with a too large parameter
This commit is contained in:
1 parent
e687b283f1
commit
9be3f8fc0a
1 file changed
+1
-1
@@ -339,7 +339,7 @@ void Jit::Comp_mxc1(MIPSOpcode op)
|
||||
BFI(gpr.R(rt), R0, 23, 1);
|
||||
} else {
|
||||
AND(R0, R0, Operand2(1)); // Just in case
|
||||
BIC(gpr.R(rt), gpr.R(rt), Operand2(0x1 << 23));
|
||||
ANDI2R(gpr.R(rt), gpr.R(rt), ~(0x1 << 23), R1); // R1 won't be used, this turns into a simple BIC.
|
||||
ORR(gpr.R(rt), gpr.R(rt), Operand2(R0, ST_LSL, 23));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user