Skip to content
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

fix(amo-diff): report misalign exception in amo instruction #586

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

happy-lx
Copy link
Contributor

Since Xiangshan atomic instructions do not support hardware misaligned memory access, so if nemu finds that the addresses are misaligned before executing the atomic instructions, directly reports an exception to make the behavior of both sides consistent.

Since Xiangshan atomic instructions do not support hardware misaligned memory access,
so if nemu finds that the addresses are misaligned before executing the atomic instructions,
directly reports an exception to make the behavior of both sides consistent.
@happy-lx happy-lx merged commit a0fb7f7 into master Oct 16, 2024
7 checks passed
@happy-lx happy-lx deleted the fix-amo-misalign branch October 16, 2024 09:27
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.

2 participants