mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 23:59:27 +01:00
JitArm64: Fix immediate versions of cmpl.
This commit is contained in:
parent
9fc5f4ad23
commit
89cefe3103
@ -437,12 +437,12 @@ void JitArm64::cmpl(UGeckoInstruction inst)
|
||||
|
||||
if (gpr.IsImm(a) && gpr.IsImm(b))
|
||||
{
|
||||
ComputeRC(gpr.GetImm(a) - gpr.GetImm(b), crf);
|
||||
ComputeRC(static_cast<u64>(gpr.GetImm(a)) - static_cast<u64>(gpr.GetImm(b)), crf, false);
|
||||
return;
|
||||
}
|
||||
else if (gpr.IsImm(b) && !gpr.GetImm(b))
|
||||
{
|
||||
ComputeRC(gpr.R(a), crf);
|
||||
ComputeRC(gpr.R(a), crf, false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user