Core commit. Compile and run on the OpenPandora
[mupen64plus-pandora.git] / source / mupen64plus-core / src / r4300 / new_dynarec / assem_x86.h
1 #define HOST_REGS 8
2 #define HOST_CCREG 6
3 #define HOST_BTREG 5
4 #define EXCLUDE_REG 4
5
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
11
12 #define USE_MINI_HT 1
13
14 extern void *base_addr; // Code generator target address
15 #define TARGET_SIZE_2 25 // 2^25 = 32 megabytes
16 #define JUMP_TABLE_SIZE 0 // Not needed for 32-bit x86
17
18 /* x86 calling convention:
19    caller-save: %eax %ecx %edx
20    callee-save: %ebp %ebx %esi %edi */