PPCRec: Clean up unused flags

This commit is contained in:
Exzap 2022-12-12 16:55:30 +01:00
parent 0f1d7532a1
commit d724dded8e
6 changed files with 13 additions and 305 deletions

View file

@ -173,10 +173,6 @@ void IMLInstruction::CheckRegisterUsage(IMLUsedRegisters* registersUsed) const
{
// only affects cr register
}
else if (type == PPCREC_IML_TYPE_JUMPMARK)
{
// no effect on registers
}
else if (type == PPCREC_IML_TYPE_FPR_R_NAME)
{
// fpr operation
@ -527,10 +523,6 @@ void IMLInstruction::ReplaceGPR(sint32 gprRegisterSearched[4], sint32 gprRegiste
{
// only affects cr register
}
else if (type == PPCREC_IML_TYPE_JUMPMARK)
{
// no effect on registers
}
else if (type == PPCREC_IML_TYPE_FPR_R_NAME)
{
@ -667,10 +659,6 @@ void IMLInstruction::ReplaceFPRs(sint32 fprRegisterSearched[4], sint32 fprRegist
{
// only affects cr register
}
else if (type == PPCREC_IML_TYPE_JUMPMARK)
{
// no effect on registers
}
else if (type == PPCREC_IML_TYPE_FPR_R_NAME)
{
op_r_name.registerIndex = replaceRegisterMultiple(op_r_name.registerIndex, fprRegisterSearched, fprRegisterReplaced);
@ -781,10 +769,6 @@ void IMLInstruction::ReplaceFPR(sint32 fprRegisterSearched, sint32 fprRegisterRe
{
// only affects cr register
}
else if (type == PPCREC_IML_TYPE_JUMPMARK)
{
// no effect on registers
}
else if (type == PPCREC_IML_TYPE_FPR_R_NAME)
{
op_r_name.registerIndex = replaceRegister(op_r_name.registerIndex, fprRegisterSearched, fprRegisterReplaced);