diff options
author | notaz | 2010-11-20 00:51:15 +0200 |
---|---|---|
committer | notaz | 2010-11-20 15:49:31 +0200 |
commit | 57871462a0b157066bbc4a763c59b61085436609 (patch) | |
tree | 9217afb73c9af94112387661a583554073f52fd5 /libpcsxcore/new_dynarec/assem_x64.h | |
parent | 14dffdb7a0457fc647103deafa5f1cac12e888fb (diff) | |
download | pcsx_rearmed-57871462a0b157066bbc4a763c59b61085436609.tar.gz pcsx_rearmed-57871462a0b157066bbc4a763c59b61085436609.tar.bz2 pcsx_rearmed-57871462a0b157066bbc4a763c59b61085436609.zip |
add unmodified Ari64 drc to track it's changes
Diffstat (limited to 'libpcsxcore/new_dynarec/assem_x64.h')
-rw-r--r-- | libpcsxcore/new_dynarec/assem_x64.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libpcsxcore/new_dynarec/assem_x64.h b/libpcsxcore/new_dynarec/assem_x64.h new file mode 100644 index 0000000..9c114f5 --- /dev/null +++ b/libpcsxcore/new_dynarec/assem_x64.h @@ -0,0 +1,24 @@ +#define HOST_REGS 8 +#define HOST_CCREG 6 +#define HOST_BTREG 5 +#define EXCLUDE_REG 4 + +//#define IMM_PREFETCH 1 +#define HOST_IMM_ADDR32 1 +#define INVERTED_CARRY 1 +#define DESTRUCTIVE_WRITEBACK 1 +#define DESTRUCTIVE_SHIFT 1 + +#define USE_MINI_HT 1 + +#define BASE_ADDR 0x70000000 // Code generator target address +#define TARGET_SIZE_2 25 // 2^25 = 32 megabytes + +#define ROM_COPY ((void *)0x78000000) // For Goldeneye hack + +/* x86-64 calling convention: + func(rdi, rsi, rdx, rcx, r8, r9) {return rax;} + callee-save: %rbp %rbx %r12-%r15 */ + +#define ARG1_REG 7 /* RDI */ +#define ARG2_REG 6 /* RSI */ |