X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fnew_dynarec%2Fassem_arm64.h;h=c5fcadf3907560ab523955d7678c85dbf7b4afa7;hp=1360bfadf00cfb13b5a424ca8d92348adfa8a28b;hb=b7ec323c2e42a9ff8df844e5a95665733abb4bc1;hpb=2a014d73faf4cec54f8bf51134828173f0debfaa diff --git a/libpcsxcore/new_dynarec/assem_arm64.h b/libpcsxcore/new_dynarec/assem_arm64.h index 1360bfad..c5fcadf3 100644 --- a/libpcsxcore/new_dynarec/assem_arm64.h +++ b/libpcsxcore/new_dynarec/assem_arm64.h @@ -1,14 +1,13 @@ -#define HOST_REGS 29 -#define HOST_BTREG 27 -#define EXCLUDE_REG -1 - #define HOST_IMM8 1 -#define RAM_SIZE 0x200000 /* calling convention: r0 -r17: caller-save r19-r29: callee-save */ +#define HOST_REGS 29 +#define HOST_BTREG 27 +#define EXCLUDE_REG -1 + #define SP 31 #define WZR SP #define XZR SP @@ -24,6 +23,10 @@ #define HOST_CCREG 28 #define rCC w28 +#define CALLER_SAVE_REGS 0x0007ffff +#define PREFERRED_REG_FIRST 19 +#define PREFERRED_REG_LAST 27 + // stack space #define SSP_CALLEE_REGS (8*12) #define SSP_CALLER_REGS (8*20)