7 #define HAVE_CMOV_IMM 1
8 #define HAVE_CONDITIONAL_CALL 1
9 #define RAM_SIZE 0x200000
13 /* ARM calling convention:
14 r0-r3, r12: caller-save
15 r4-r11: callee-save */
22 /* GCC register naming convention:
24 r11 = fp (frame pointer)
26 r13 = sp (stack pointer)
27 r14 = lr (link register)
28 r15 = pc (program counter) */
32 #define HOST_TEMPREG 14
34 // Note: FP is set to &dynarec_local when executing generated code.
35 // Thus the local variables are actually global and not on the stack.
37 extern char *invc_ptr;
39 #define TARGET_SIZE_2 24 // 2^24 = 16 megabytes
41 // Code generator target address
43 // "round" address helpful for debug
44 #define BASE_ADDR 0x1000000
46 extern char translation_cache[1 << TARGET_SIZE_2];
47 #define BASE_ADDR (u_int)translation_cache