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