2022-08-29 08:27:17 +00:00
|
|
|
#include "stdafx.h"
|
2022-08-29 11:22:15 +00:00
|
|
|
#if defined(__amd64__) || defined(_M_X64)
|
|
|
|
|
2022-08-29 08:27:17 +00:00
|
|
|
#include <Project64-core/N64System/Recompiler/x64-86/x64RegInfo.h>
|
|
|
|
|
|
|
|
CX64RegInfo::CX64RegInfo(CCodeBlock & /*CodeBlock*/, CX64Ops & /*Assembler*/)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-10-10 00:22:17 +00:00
|
|
|
CX64RegInfo::CX64RegInfo(const CX64RegInfo &)
|
2022-08-29 08:27:17 +00:00
|
|
|
{
|
|
|
|
g_Notify->BreakPoint(__FILE__, __LINE__);
|
|
|
|
}
|
|
|
|
|
|
|
|
CX64RegInfo::~CX64RegInfo()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-10-10 00:22:17 +00:00
|
|
|
CX64RegInfo & CX64RegInfo::operator=(const CX64RegInfo & right)
|
2022-08-29 08:27:17 +00:00
|
|
|
{
|
|
|
|
CRegBase::operator=(right);
|
2023-04-04 08:14:42 +00:00
|
|
|
#ifdef _DEBUG
|
|
|
|
if (*this != right)
|
|
|
|
{
|
|
|
|
g_Notify->BreakPoint(__FILE__, __LINE__);
|
|
|
|
}
|
|
|
|
#endif
|
2022-08-29 08:27:17 +00:00
|
|
|
return *this;
|
|
|
|
}
|
|
|
|
|
2023-04-04 08:14:42 +00:00
|
|
|
bool CX64RegInfo::operator==(const CX64RegInfo & Right) const
|
2022-08-29 08:27:17 +00:00
|
|
|
{
|
2023-04-04 08:14:42 +00:00
|
|
|
if (!CRegBase::operator==(Right))
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
return true;
|
2022-08-29 08:27:17 +00:00
|
|
|
}
|
|
|
|
|
2023-04-04 08:14:42 +00:00
|
|
|
bool CX64RegInfo::operator!=(const CX64RegInfo & Right) const
|
2022-08-29 08:27:17 +00:00
|
|
|
{
|
2023-04-04 08:14:42 +00:00
|
|
|
return !(Right == *this);
|
2022-08-29 11:22:15 +00:00
|
|
|
}
|
|
|
|
|
2023-02-27 23:39:08 +00:00
|
|
|
void CX64RegInfo::UnMap_GPR(uint32_t /*Reg*/, bool /*WriteBackValue*/)
|
2022-12-06 22:34:55 +00:00
|
|
|
{
|
|
|
|
g_Notify->BreakPoint(__FILE__, __LINE__);
|
|
|
|
}
|
|
|
|
|
2022-08-29 11:22:15 +00:00
|
|
|
#endif
|