JitBase: Add HasConstantCarry helper

This commit is contained in:
Sintendo 2024-12-27 09:47:54 +01:00 committed by pull[bot]
parent 4572b075cd
commit 671fe29ebe

View file

@ -178,6 +178,14 @@ protected:
void CleanUpAfterStackFault();
bool CanMergeNextInstructions(int count) const;
bool HasConstantCarry() const
{
#ifdef _M_ARM_64
return js.carryFlag == CarryFlag::ConstantTrue || js.carryFlag == CarryFlag::ConstantFalse;
#else
return false;
#endif
}
bool ShouldHandleFPExceptionForInstruction(const PPCAnalyst::CodeOp* op);