mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Merge pull request #11564 from JosJuice/jitarm64-cmp-order
JitArm64: Fix special cases of cmp
This commit is contained in:
commit
661b74f4a3
@ -584,13 +584,13 @@ void JitArm64::cmp(UGeckoInstruction inst)
|
||||
}
|
||||
else if (gpr.IsImm(a) && !gpr.GetImm(a))
|
||||
{
|
||||
NEG(EncodeRegTo32(CR), gpr.R(b));
|
||||
SXTW(CR, EncodeRegTo32(CR));
|
||||
SXTW(CR, gpr.R(b));
|
||||
NEG(CR, CR);
|
||||
}
|
||||
else if (gpr.IsImm(a) && gpr.GetImm(a) == 0xFFFFFFFF)
|
||||
{
|
||||
MVN(EncodeRegTo32(CR), gpr.R(b));
|
||||
SXTW(CR, EncodeRegTo32(CR));
|
||||
SXTW(CR, gpr.R(b));
|
||||
MVN(CR, CR);
|
||||
}
|
||||
else if (gpr.IsImm(b) && !gpr.GetImm(b))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user