notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make icache implementation play nice with the dynarec
[pcsx_rearmed.git]
/
libpcsxcore
/
new_dynarec
/
assem_arm.h
diff --git
a/libpcsxcore/new_dynarec/assem_arm.h
b/libpcsxcore/new_dynarec/assem_arm.h
index
93066a2
..
9b3a1e1
100644
(file)
--- a/
libpcsxcore/new_dynarec/assem_arm.h
+++ b/
libpcsxcore/new_dynarec/assem_arm.h
@@
-5,19
+5,12
@@
#define HOST_IMM8 1
#define HAVE_CMOV_IMM 1
#define HOST_IMM8 1
#define HAVE_CMOV_IMM 1
-#define CORTEX_A8_BRANCH_PREDICTION_HACK 1
-#define USE_MINI_HT 1
-//#define REG_PREFETCH 1
+#define HAVE_CONDITIONAL_CALL 1
/* ARM calling convention:
r0-r3, r12: caller-save
r4-r11: callee-save */
/* ARM calling convention:
r0-r3, r12: caller-save
r4-r11: callee-save */
-#define ARG1_REG 0
-#define ARG2_REG 1
-#define ARG3_REG 2
-#define ARG4_REG 3
-
/* GCC register naming convention:
r10 = sl (base)
r11 = fp (frame pointer)
/* GCC register naming convention:
r10 = sl (base)
r11 = fp (frame pointer)
@@
-35,8
+28,10
@@
extern char *invc_ptr;
extern char *invc_ptr;
-#define BASE_ADDR 0x7000000 // Code generator target address
#define TARGET_SIZE_2 24 // 2^24 = 16 megabytes
#define TARGET_SIZE_2 24 // 2^24 = 16 megabytes
-// This is defined in linkage_arm.s, but gcc -O3 likes this better
-#define rdram ((unsigned int *)0x80000000)
+struct tramp_insns
+{
+ u_int ldrpc;
+};
+