notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drc: tune invalidation
[picodrive.git]
/
cpu
/
sh2
/
compiler.h
diff --git
a/cpu/sh2/compiler.h
b/cpu/sh2/compiler.h
index
2c04b10
..
ef1944b
100644
(file)
--- a/
cpu/sh2/compiler.h
+++ b/
cpu/sh2/compiler.h
@@
-1,10
+1,18
@@
int sh2_drc_init(SH2 *sh2);
void sh2_drc_finish(SH2 *sh2);
int sh2_drc_init(SH2 *sh2);
void sh2_drc_finish(SH2 *sh2);
-void sh2_drc_mem_setup(SH2 *sh2);
-void sh2_drc_flush_all(void);
void sh2_drc_wcheck_ram(unsigned int a, int val, int cpuid);
void sh2_drc_wcheck_da(unsigned int a, int val, int cpuid);
void sh2_drc_wcheck_ram(unsigned int a, int val, int cpuid);
void sh2_drc_wcheck_da(unsigned int a, int val, int cpuid);
+#ifdef DRC_SH2
+void sh2_drc_mem_setup(SH2 *sh2);
+void sh2_drc_flush_all(void);
+void sh2_drc_frame(void);
+#else
+#define sh2_drc_mem_setup(x)
+#define sh2_drc_flush_all()
+#define sh2_drc_frame()
+#endif
+
#define BLOCK_INSN_LIMIT 128
/* op_flags */
#define BLOCK_INSN_LIMIT 128
/* op_flags */