2 #define HAVE_CMOV_IMM 1
3 #define HAVE_CONDITIONAL_CALL 1
5 /* ARM calling convention:
6 r0-r3, r12: caller-save
9 /* GCC register naming convention:
11 r11 = fp (frame pointer)
13 r13 = sp (stack pointer)
14 r14 = lr (link register)
15 r15 = pc (program counter) */
19 #define EXCLUDE_REG 11
21 // Note: FP is set to &dynarec_local when executing generated code.
22 // Thus the local variables are actually global and not on the stack.
25 #define HOST_TEMPREG 14
28 #define CALLER_SAVE_REGS 0x100f
30 #define CALLER_SAVE_REGS 0x120f
32 #define PREFERRED_REG_FIRST 4
33 #define PREFERRED_REG_LAST 9
35 #define DRC_DBG_REGMASK CALLER_SAVE_REGS
37 extern char *invc_ptr;
39 #define TARGET_SIZE_2 24 // 2^24 = 16 megabytes