Jim Huang

Results 569 comments of Jim Huang

The instruction set simulator identifies certain code segments as hotspots and converts them into native machine code following a specific sequence of steps. Each block of code is mapped to...

An alternative approach is to implement a memory cache to store frequently accessed memory regions. This can significantly reduce the number of memory accesses and improve performance. Consider the following:...

To distinguish between words in English and Chinese, we clarify the usage to "phrase".

@yachiyang01, you should use `git rebase -i` to rework these commits. No merge failure should exist. Reference: https://blog.yorkxin.org/2011/07/29/git-rebase

This task was considered invalid.

In the context of tiered compilation, the tier-1 JIT compiler (T1C) focuses on rapid code generation while omitting certain extensions like RV32A and RV32F. Conversely, the tier-2 JIT compiler (T2C)...

[Rellume](https://github.com/aengelke/rellume) is a lifter designed to convert x86-64/AArch64/RISC-V64 machine code into LLVM IR, with a strong emphasis on the performance of the resultant code. The generated LLVM IR is both...

Ideas for Improvements. ## Translation caching Translations are cached, so that if the same block of code requires executing again, it does not need to be retranslated. The translations are...

> For tier-1 JIT compiler: Register Liveness Analysis > For several optimization passes, information about the usage of written registers is helpful, allowing Drob to detect unused effects of instructions,...

With Chrome 114 is the start of Google beginning to roll-out Maglev as their new mid-tier compiler for further enhancing the JavaScript browser performance. ![image](https://github.com/sysprog21/rv32emu/assets/478921/5e531fa0-fce7-44da-b9c2-93870281eade) See early [Maglev design document](https://docs.google.com/document/d/13CwgSL4yawxuYg3iNlM-4ZPCB8RgJya6b8H_E2F-Aek/edit#heading=h.dmhxljs5hbh).