5 x18 : caller-save (platform reg)
6 x19-x29: callee-save */
16 #define HOST_TEMPREG LR
18 // Note: FP is set to &dynarec_local when executing generated code.
19 // Thus the local variables are actually global and not on the stack.
26 #define CALLER_SAVE_REGS 0x0007ffff
27 #define PREFERRED_REG_FIRST 19
28 #define PREFERRED_REG_LAST 27
30 #define DRC_DBG_REGMASK 3 // others done by do_insn_cmp_arm64
31 #define do_insn_cmp do_insn_cmp_arm64
34 #define SSP_CALLEE_REGS (8*12) // new_dyna_start caller's
35 #define SSP_CALLER_REGS (8*20)
36 #define SSP_ALL (SSP_CALLEE_REGS+SSP_CALLER_REGS)
38 #define TARGET_SIZE_2 24 // 2^24 = 16 megabytes
42 extern char *invc_ptr;
50 static void clear_cache_arm64(char *start, char *end);
52 void do_memhandler_pre();
53 void do_memhandler_post();
55 #endif // !__ASSEMBLY__