compile TLB Miss with const
This commit is contained in:
parent
ec106c94b8
commit
6490277a31
|
@ -7,6 +7,13 @@ DWORD CRecompilerOps::m_CompilePC;
|
||||||
OPCODE CRecompilerOps::m_Opcode;
|
OPCODE CRecompilerOps::m_Opcode;
|
||||||
DWORD CRecompilerOps::m_BranchCompare = 0;
|
DWORD CRecompilerOps::m_BranchCompare = 0;
|
||||||
|
|
||||||
|
void CRecompilerOps::CompileReadTLBMiss (DWORD VirtualAddress, x86Reg LookUpReg )
|
||||||
|
{
|
||||||
|
MoveConstToVariable(VirtualAddress,_TLBLoadAddress,"TLBLoadAddress");
|
||||||
|
TestX86RegToX86Reg(LookUpReg,LookUpReg);
|
||||||
|
m_Section->CompileExit(m_CompilePC, m_CompilePC,m_RegWorkingSet,CExitInfo::TLBReadMiss,FALSE,JeLabel32);
|
||||||
|
}
|
||||||
|
|
||||||
void CRecompilerOps::CompileReadTLBMiss (x86Reg AddressReg, x86Reg LookUpReg )
|
void CRecompilerOps::CompileReadTLBMiss (x86Reg AddressReg, x86Reg LookUpReg )
|
||||||
{
|
{
|
||||||
MoveX86regToVariable(AddressReg,_TLBLoadAddress,"TLBLoadAddress");
|
MoveX86regToVariable(AddressReg,_TLBLoadAddress,"TLBLoadAddress");
|
||||||
|
|
|
@ -189,6 +189,7 @@ protected:
|
||||||
static void AfterCallDirect ( CRegInfo & RegSet );
|
static void AfterCallDirect ( CRegInfo & RegSet );
|
||||||
static void EnterCodeBlock ( void );
|
static void EnterCodeBlock ( void );
|
||||||
static void ExitCodeBlock ( void );
|
static void ExitCodeBlock ( void );
|
||||||
|
static void CompileReadTLBMiss (DWORD VirtualAddress, x86Reg LookUpReg );
|
||||||
static void CompileReadTLBMiss (x86Reg AddressReg, x86Reg LookUpReg );
|
static void CompileReadTLBMiss (x86Reg AddressReg, x86Reg LookUpReg );
|
||||||
static void CompileWriteTLBMiss (x86Reg AddressReg, x86Reg LookUpReg );
|
static void CompileWriteTLBMiss (x86Reg AddressReg, x86Reg LookUpReg );
|
||||||
static void UpdateSyncCPU (CRegInfo & RegSet, DWORD Cycles);
|
static void UpdateSyncCPU (CRegInfo & RegSet, DWORD Cycles);
|
||||||
|
|
Loading…
Reference in New Issue