aboutsummaryrefslogtreecommitdiff
path: root/sim/h8300/sim-main.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-30 01:52:01 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-07 12:21:12 -0500
commitbfc7d04afbeb56a3dc3caa71322a71fbb084d5dd (patch)
tree6ec8b991acd29ffebe10b5831399c3d3ed475a06 /sim/h8300/sim-main.h
parente904f56d02afd68ffd9333435fe8b026f1e14b5f (diff)
downloadfsf-binutils-gdb-bfc7d04afbeb56a3dc3caa71322a71fbb084d5dd.zip
fsf-binutils-gdb-bfc7d04afbeb56a3dc3caa71322a71fbb084d5dd.tar.gz
fsf-binutils-gdb-bfc7d04afbeb56a3dc3caa71322a71fbb084d5dd.tar.bz2
sim: h8300: delete opcode caching
This is in preparation for converting h8300 over to the common memory framework. It's not clear how much of a speed gain this was providing in the first place -- a naive test of ~400k insns (using shlr.s) shows that this code actually slowed things down a bit. If anyone really cares about h8300 anymore, they can migrate to the common insn caching logic.
Diffstat (limited to 'sim/h8300/sim-main.h')
-rw-r--r--sim/h8300/sim-main.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sim/h8300/sim-main.h b/sim/h8300/sim-main.h
index 6dbc1ac..3b5ae2a 100644
--- a/sim/h8300/sim-main.h
+++ b/sim/h8300/sim-main.h
@@ -135,12 +135,7 @@ struct _sim_cpu {
/* The sim_state struct. */
struct sim_state {
sim_cpu *cpu[MAX_NR_PROCESSORS];
- unsigned int sim_cache_size;
- decoded_inst *sim_cache;
- unsigned short *cache_idx;
unsigned long memory_size;
- int cache_top;
- int compiles;
#ifdef ADEBUG
int stats[O_LAST];
#endif