mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 21:11:17 +12:00
18 lines
No EOL
649 B
C++
18 lines
No EOL
649 B
C++
#pragma once
|
|
|
|
#include "HW/Espresso/Recompiler/IML/IMLInstruction.h"
|
|
#include "../PPCRecompiler.h"
|
|
|
|
bool PPCRecompiler_generateAArch64Code(struct PPCRecFunction_t* PPCRecFunction, struct ppcImlGenContext_t* ppcImlGenContext);
|
|
void PPCRecompiler_cleanupAArch64Code(void* code, size_t size);
|
|
|
|
void PPCRecompilerAArch64Gen_generateRecompilerInterfaceFunctions();
|
|
|
|
// architecture specific constants
|
|
namespace IMLArchAArch64
|
|
{
|
|
static constexpr int PHYSREG_GPR_BASE = 0;
|
|
static constexpr int PHYSREG_GPR_COUNT = 25;
|
|
static constexpr int PHYSREG_FPR_BASE = PHYSREG_GPR_COUNT;
|
|
static constexpr int PHYSREG_FPR_COUNT = 31;
|
|
}; // namespace IMLArchAArch64
|