Skip to content

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

Merged
merged 1 commit into from
May 2, 2025
Merged

Fix T2C in system simulation #593

merged 1 commit into from
May 2, 2025

Conversation

vacantron
Copy link
Collaborator

@vacantron vacantron commented Apr 29, 2025

  • Add MMU-related code in memory operation
  • Fix indirect branch handling

Summary by Bito

This pull request enhances the memory management unit (MMU) functionality and refines T2C operations, including refactoring MMU read/write functions and optimizing the JIT cache structure for better performance and reliability. The changes also improve indirect branch handling, making the code more efficient and easier to read.

Unit tests added: False

Estimated effort to review (1-5, lower is better): 2

@jserv jserv added this to the release-2025.1 milestone Apr 29, 2025
@jserv jserv requested a review from ChinYikMing April 29, 2025 20:31
Copy link
Collaborator

@ChinYikMing ChinYikMing left a 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.

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

make ENABLE_SYSTEM=1 ENABLE_JIT=1 ENABLE_T2C=0 ENABLE_MOP_FUSION=0 clean

@vacantron vacantron force-pushed the fix/t2c branch 2 times, most recently from 0fe2060 to b3d6511 Compare April 30, 2025 02:56
Copy link
Contributor

@jserv jserv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebase the latest master branch and resolve conflicts.

- Add MMU-related code in memory operation
- Fix indirect branch handling
@jserv jserv merged commit 8f44788 into sysprog21:master May 2, 2025
10 checks passed
@jserv
Copy link
Contributor

jserv commented May 2, 2025

Thank @vacantron for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants