Browse Source

tmp

speedup-hacks
Andrew Waterman 3 years ago
parent
commit
4efafebef0
  1. 2
      riscv/execute.cc

2
riscv/execute.cc

@ -281,7 +281,7 @@ void processor_t::step(size_t n)
for (auto ic_entry = _mmu->access_icache(pc); ; ) {
auto fetch = ic_entry->data;
pc = execute_insn_fast(this, pc, fetch);
ic_entry = ic_entry->next;
ic_entry = &_mmu->icache[_mmu->icache_index(pc)];
if (unlikely(ic_entry->tag != pc))
break;
if (unlikely(instret + 1 == n))

Loading…
Cancel
Save