6 //#define IMM_PREFETCH 1
7 #define HOST_IMM_ADDR32 1
8 #define INVERTED_CARRY 1
9 #define DESTRUCTIVE_WRITEBACK 1
10 #define DESTRUCTIVE_SHIFT 1
14 #define BASE_ADDR 0x70000000 // Code generator target address
15 #define TARGET_SIZE_2 25 // 2^25 = 32 megabytes
17 #define ROM_COPY ((void *)0x78000000) // For Goldeneye hack
19 /* x86-64 calling convention:
20 func(rdi, rsi, rdx, rcx, r8, r9) {return rax;}
21 callee-save: %rbp %rbx %r12-%r15 */
23 #define ARG1_REG 7 /* RDI */
24 #define ARG2_REG 6 /* RSI */