52 lines
1.3 KiB
C
52 lines
1.3 KiB
C
#pragma once
|
|
|
|
enum RecompilerBranchType
|
|
{
|
|
RecompilerBranchType_Cop1,
|
|
RecompilerBranchType_Rs,
|
|
RecompilerBranchType_RsRt
|
|
};
|
|
|
|
enum RecompilerBranchCompare
|
|
{
|
|
RecompilerBranchCompare_BEQ,
|
|
RecompilerBranchCompare_BNE,
|
|
RecompilerBranchCompare_BLTZ,
|
|
RecompilerBranchCompare_BLEZ,
|
|
RecompilerBranchCompare_BGTZ,
|
|
RecompilerBranchCompare_BGEZ,
|
|
RecompilerBranchCompare_COP1BCF,
|
|
RecompilerBranchCompare_COP1BCT,
|
|
};
|
|
|
|
enum RecompilerTrapCompare
|
|
{
|
|
RecompilerTrapCompare_TEQ,
|
|
RecompilerTrapCompare_TNE,
|
|
RecompilerTrapCompare_TGE,
|
|
RecompilerTrapCompare_TGEU,
|
|
RecompilerTrapCompare_TLT,
|
|
RecompilerTrapCompare_TLTU,
|
|
RecompilerTrapCompare_TEQI,
|
|
RecompilerTrapCompare_TNEI,
|
|
RecompilerTrapCompare_TGEI,
|
|
RecompilerTrapCompare_TGEIU,
|
|
RecompilerTrapCompare_TLTI,
|
|
RecompilerTrapCompare_TLTIU,
|
|
};
|
|
|
|
#if defined(__i386__) || defined(_M_IX86)
|
|
#include <Project64-core/N64System/Recompiler/x86/x86RecompilerOps.h>
|
|
|
|
typedef CX86RecompilerOps CRecompilerOps;
|
|
|
|
#elif defined(__amd64__) || defined(_M_X64)
|
|
#include <Project64-core/N64System/Recompiler/x64-86/x64RecompilerOps.h>
|
|
|
|
#elif defined(__arm__) || defined(_M_ARM)
|
|
#include <Project64-core/N64System/Recompiler/Arm/ArmRecompilerOps.h>
|
|
|
|
typedef CArmRecompilerOps CRecompilerOps;
|
|
|
|
#endif
|