-
Notifications
You must be signed in to change notification settings - Fork 111
Fix T2C in system simulation #593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the ENABLE_T2C=0
option for macOS host as well.
rv32emu/.github/workflows/main.yml
Line 487 in 4ee642c
make distclean && make INITRD_SIZE=32 ENABLE_SYSTEM=1 ENABLE_JIT=1 ENABLE_T2C=0 ENABLE_MOP_FUSION=0 $PARALLEL && make ENABLE_SYSTEM=1 artifact $PARALLEL |
rv32emu/.github/workflows/main.yml
Line 489 in 4ee642c
make ENABLE_SYSTEM=1 ENABLE_JIT=1 ENABLE_T2C=0 ENABLE_MOP_FUSION=0 clean |
- Add MMU-related code in memory operation - Fix indirect branch handling
LLVMBuildCall2(*builder, mmu_fn_type, mmu_fn_ptr, params, 3, ""); \ | ||
} | ||
|
||
t2c_mmu_load_impl(lb, mmu_read_b, 8, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we enforce capitalization for consistency (e.g., BRANCH_FUNC
in the same file) in such function declarations?
Summary by Bito
This pull request enhances the memory management unit (MMU) functionality and refines T2C operations by refactoring read/write processes and improving indirect branch handling. Key updates include modifications to the JIT cache structure for better key management, aimed at boosting performance and reliability in system simulations.Unit tests added: False
Estimated effort to review (1-5, lower is better): 2 - The changes are focused and well-defined, making the review process straightforward.