YenFuChen
YenFuChen
Actually, the function `destroy_cache` has some problem I haven't sloved.
> > I noticed that the JIT compiler's code cache in the JVM doesn't utilize any cache replacement algorithm. Instead, when the code cache is full, it either disables the...
I ensure that the problem does not arise from this. We haven't designed any mechanism to flush the cache. Therefore, if the code cache is full, the program would abort....
If the constant jump is compiled into an indirect jump by the toolchain, the jalr instruction can be specialized as auipc + jal. Based on my observation, there are some...
For improving the indirect jump, we experiment three different implementations: 1. Make no improvements, jump directly back to the interpreter. 2. Current implementation, the interpreter records the target of the...
I imported the LRU cache in this [commit](https://github.com/qwe661234/rv32emu/commit/8da7364f968a930fa46e4a43af9f2e1820c420ad), so maybe we can display cache information in the profiling tool, such as cache size, cache hit rate, cache miss rate, cache...
> It is feasible to reuse existing `map` for LRU cache implementation. See https://jaeyu.wordpress.com/2014/04/15/lru-cache-in-c/ I try to integrate the existing map for LRU cache implementation, but the performance is worser...
> I am a bit worried about the lengthy file src/t2c_template.c, which could lead to potential maintenance issues. Can you suggest a more advanced way to reduce the code size...
> ext insn addr: 0x4 Could you provide your `printf` format? I want to map the fields in `riscv_t`.
> > > ext insn addr: 0x4 > > > > > > Could you provide your `printf` format? I want to map the fields in `riscv_t`. > > Sure....