mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
JitArm64: Keep carry in the host flag for all integer instructions.
This commit is contained in:
@ -606,6 +606,8 @@ const u8* JitArm64::DoJit(u32 em_address, PPCAnalyst::CodeBuffer* code_buf, JitB
|
|||||||
}
|
}
|
||||||
|
|
||||||
JitArm64Tables::CompileInstruction(ops[i]);
|
JitArm64Tables::CompileInstruction(ops[i]);
|
||||||
|
if (!MergeAllowedNextInstructions(1) || js.op[1].opinfo->type != OPTYPE_INTEGER)
|
||||||
|
FlushCarry();
|
||||||
|
|
||||||
// If we have a register that will never be used again, flush it.
|
// If we have a register that will never be used again, flush it.
|
||||||
gpr.StoreRegisters(~ops[i].gprInUse);
|
gpr.StoreRegisters(~ops[i].gprInUse);
|
||||||
|
@ -74,7 +74,7 @@ void JitArm64::ComputeCarry()
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
js.carryFlagSet = true;
|
js.carryFlagSet = true;
|
||||||
if (MergeAllowedNextInstructions(1) && js.op[1].wantsCAInFlags)
|
if (MergeAllowedNextInstructions(1) && js.op[1].opinfo->type == OPTYPE_INTEGER)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user