7 #define HAVE_CMOV_IMM 1
8 #define CORTEX_A8_BRANCH_PREDICTION_HACK 1
10 //#define REG_PREFETCH 1
14 #define DISABLE_COP1 1
16 #define RAM_SIZE 0x200000
24 /* ARM calling convention:
25 r0-r3, r12: caller-save
26 r4-r11: callee-save */
33 /* GCC register naming convention:
35 r11 = fp (frame pointer)
37 r13 = sp (stack pointer)
38 r14 = lr (link register)
39 r15 = pc (program counter) */
43 #define HOST_TEMPREG 14
45 // Note: FP is set to &dynarec_local when executing generated code.
46 // Thus the local variables are actually global and not on the stack.
48 extern char *invc_ptr;
50 #define BASE_ADDR 0x1000000 // Code generator target address
51 #define TARGET_SIZE_2 24 // 2^24 = 16 megabytes
53 // This is defined in linkage_arm.s, but gcc -O3 likes this better
54 #define rdram ((unsigned int *)0x80000000)