mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 15:31:18 +12:00
PPCRec: Move IML register allocator
This commit is contained in:
parent
231b5c5dc3
commit
411a83799c
13 changed files with 145 additions and 136 deletions
|
@ -1118,8 +1118,8 @@ bool PPCRecompilerAnalyzer_checkForGPROverwrite(IMLUsedRegisters* registerRead,
|
|||
|
||||
void _reorderConditionModifyInstructions(IMLSegment* imlSegment)
|
||||
{
|
||||
IMLInstruction* lastInstruction = PPCRecompilerIML_getLastInstruction(imlSegment);
|
||||
// last instruction a conditional branch?
|
||||
IMLInstruction* lastInstruction = imlSegment->GetLastInstruction();
|
||||
// last instruction is a conditional branch?
|
||||
if (lastInstruction == nullptr || lastInstruction->type != PPCREC_IML_TYPE_CJUMP)
|
||||
return;
|
||||
if (lastInstruction->op_conditionalJump.crRegisterIndex >= 8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue