PPCRec: Make LSWI/STWSI more generic + GPR temporaries storage

This commit is contained in:
Exzap 2022-12-13 05:41:26 +01:00
parent d724dded8e
commit c4fb7b74f8
7 changed files with 161 additions and 319 deletions

View file

@ -1211,7 +1211,7 @@ void _reorderConditionModifyInstructions(IMLSegment* imlSegment)
#endif
IMLInstruction* newCRSetterInstruction = PPCRecompiler_insertInstruction(imlSegment, unsafeInstructionIndex+1);
memcpy(newCRSetterInstruction, imlSegment->imlList.data() + crSetterInstructionIndex, sizeof(IMLInstruction));
PPCRecompilerImlGen_generateNewInstruction_noOp(nullptr, imlSegment->imlList.data() + crSetterInstructionIndex);
imlSegment->imlList[crSetterInstructionIndex].make_no_op();
}
/*