mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 15:31:18 +12:00
PPCRec: Move Segment and Instruction struct into separate files
This commit is contained in:
parent
ce5d010611
commit
4abd5127c0
10 changed files with 435 additions and 489 deletions
|
@ -142,11 +142,6 @@ void PPCRecompiler_checkRegisterUsage(ppcImlGenContext_t* ppcImlGenContext, cons
|
|||
if (imlInstruction->op_storeLoad.registerMem != PPC_REC_INVALID_REGISTER)
|
||||
registersUsed->readNamedReg1 = imlInstruction->op_storeLoad.registerMem;
|
||||
}
|
||||
else if (imlInstruction->type == PPCREC_IML_TYPE_MEM2MEM)
|
||||
{
|
||||
registersUsed->readNamedReg1 = imlInstruction->op_mem2mem.src.registerMem;
|
||||
registersUsed->readNamedReg2 = imlInstruction->op_mem2mem.dst.registerMem;
|
||||
}
|
||||
else if( imlInstruction->type == PPCREC_IML_TYPE_LOAD_INDEXED )
|
||||
{
|
||||
registersUsed->writtenNamedReg1 = imlInstruction->op_storeLoad.registerData;
|
||||
|
@ -655,10 +650,6 @@ void PPCRecompiler_replaceFPRRegisterUsageMultiple(ppcImlGenContext_t* ppcImlGen
|
|||
{
|
||||
// not affected
|
||||
}
|
||||
else if (imlInstruction->type == PPCREC_IML_TYPE_MEM2MEM)
|
||||
{
|
||||
// not affected
|
||||
}
|
||||
else if (imlInstruction->type == PPCREC_IML_TYPE_LOAD_INDEXED)
|
||||
{
|
||||
// not affected
|
||||
|
@ -777,10 +768,6 @@ void PPCRecompiler_replaceFPRRegisterUsage(ppcImlGenContext_t* ppcImlGenContext,
|
|||
{
|
||||
// not affected
|
||||
}
|
||||
else if (imlInstruction->type == PPCREC_IML_TYPE_MEM2MEM)
|
||||
{
|
||||
// not affected
|
||||
}
|
||||
else if( imlInstruction->type == PPCREC_IML_TYPE_LOAD_INDEXED )
|
||||
{
|
||||
// not affected
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue