Android: Some more core changes for asmjit
This commit is contained in:
parent
72705cf66a
commit
ff56992542
|
@ -35,4 +35,9 @@ bool CAarch64RegInfo::operator!=(const CAarch64RegInfo & /*right*/) const
|
|||
return false;
|
||||
}
|
||||
|
||||
void CAarch64RegInfo::UnMap_GPR(uint32_t Reg, bool WriteBackValue)
|
||||
{
|
||||
g_Notify->BreakPoint(__FILE__, __LINE__);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -17,6 +17,8 @@ public:
|
|||
|
||||
bool operator==(const CAarch64RegInfo & right) const;
|
||||
bool operator!=(const CAarch64RegInfo & right) const;
|
||||
|
||||
void UnMap_GPR(uint32_t Reg, bool WriteBackValue);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -35,4 +35,9 @@ bool CArmRegInfo::operator!=(const CArmRegInfo & /*right*/) const
|
|||
return false;
|
||||
}
|
||||
|
||||
void CArmRegInfo::UnMap_GPR(uint32_t Reg, bool WriteBackValue)
|
||||
{
|
||||
g_Notify->BreakPoint(__FILE__, __LINE__);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -17,6 +17,8 @@ public:
|
|||
|
||||
bool operator==(const CArmRegInfo & right) const;
|
||||
bool operator!=(const CArmRegInfo & right) const;
|
||||
|
||||
void UnMap_GPR(uint32_t Reg, bool WriteBackValue);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -35,4 +35,9 @@ bool CX64RegInfo::operator!=(const CX64RegInfo & /*right*/) const
|
|||
return false;
|
||||
}
|
||||
|
||||
void CX64RegInfo::UnMap_GPR(uint32_t Reg, bool WriteBackValue)
|
||||
{
|
||||
g_Notify->BreakPoint(__FILE__, __LINE__);
|
||||
}
|
||||
|
||||
#endif
|
|
@ -18,6 +18,8 @@ public:
|
|||
|
||||
bool operator==(const CX64RegInfo & right) const;
|
||||
bool operator!=(const CX64RegInfo & right) const;
|
||||
|
||||
void UnMap_GPR(uint32_t Reg, bool WriteBackValue);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -440,7 +440,7 @@ void CX86RegInfo::Load_FPR_ToTop(int32_t Reg, int32_t RegToLoad, FPU_STATE Forma
|
|||
m_x86fpu_MappedTo[RegPos] = m_x86fpu_MappedTo[StackTopPos()];
|
||||
m_x86fpu_State[RegPos] = m_x86fpu_State[StackTopPos()];
|
||||
m_x86fpu_StateChanged[RegPos] = m_x86fpu_StateChanged[StackTopPos()];
|
||||
m_CodeBlock.Log(" regcache: allocate ST(%d) to %s", StackPos, CRegName::FPR[m_x86fpu_MappedTo[RegPos]]);
|
||||
//m_CodeBlock.Log(" regcache: allocate ST(%d) to %s", StackPos, CRegName::FPR[m_x86fpu_MappedTo[RegPos]]);
|
||||
m_CodeBlock.Log(" regcache: allocate ST(0) to %s", CRegName::FPR[Reg]);
|
||||
|
||||
m_Assembler.fxch(StackPos);
|
||||
|
|
|
@ -170,9 +170,9 @@ void CX86Ops::CallThis(uint32_t ThisPtr, uint32_t FunctPtr, char * FunctName, ui
|
|||
#else
|
||||
void CX86Ops::CallThis(uint32_t ThisPtr, uint32_t FunctPtr, char * FunctName, uint32_t StackSize)
|
||||
{
|
||||
PushImm32(ThisPtr);
|
||||
push(ThisPtr);
|
||||
CallFunc(FunctPtr, FunctName);
|
||||
AddConstToX86Reg(CX86Ops::asmjit::x86::esp, StackSize);
|
||||
AddConstToX86Reg(asmjit::x86::esp, StackSize);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue