Core: Get x64 compiling

This commit is contained in:
zilmar 2022-11-30 17:19:15 +10:30
parent 86a4f6e318
commit 138868d9ac
3 changed files with 9 additions and 0 deletions

View File

@ -322,6 +322,7 @@ bool CCodeSection::ParentContinue()
bool CCodeSection::GenerateNativeCode(uint32_t Test)
{
#if defined(__i386__) || defined(_M_IX86)
if (m_EnterLabel.isValid())
{
if (m_Test == Test)
@ -748,6 +749,9 @@ bool CCodeSection::GenerateNativeCode(uint32_t Test)
m_RecompilerOps->SetNextStepType(PIPELINE_STAGE_END_BLOCK);
}
} while (m_RecompilerOps->GetNextStepType() != PIPELINE_STAGE_END_BLOCK);
#else
g_Notify->BreakPoint(__FILE__, __LINE__);
#endif
return true;
}

View File

@ -8,5 +8,9 @@ CExitInfo::CExitInfo(CCodeBlock & CodeBlock) :
TargetPC(0),
ExitRegSet(CodeBlock, CodeBlock.RecompilerOps()->Assembler())
{
#if defined(__i386__) || defined(_M_IX86)
JumpLabel = CodeBlock.RecompilerOps()->Assembler().newLabel();
#else
g_Notify->BreakPoint(__FILE__, __LINE__);
#endif
}

View File

@ -1,6 +1,7 @@
#pragma once
#include <Project64-core/N64System/N64Types.h>
#include <Project64-core/N64System/Recompiler/asmjit.h>
#include <Project64-core/N64System/Recompiler/RegInfo.h>
class CCodeBlock;