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

"Unknown" Instruction in Specific Instruction Sequence Did Not Trigger Exception Correctly #768

Open
fly-1011 opened this issue Jan 7, 2025 · 1 comment · May be fixed by #770
Open

Comments

@fly-1011
Copy link

fly-1011 commented Jan 7, 2025

Describe the bug

When using nemu as a reference model to test Xiangshan, I found that for unknown instructions in a specific instruction sequence, nemu could not correctly cause an illegal instruction exception.

The following is a screenshot of the log information:

image
image

This is the test program and log information:test.zip

Necessary information on versions

  • NEMU version: 2df9c44
  • xiangshan:commit 77733a7b1f4626cf325c130e7d7b560ff57aec80
  • ready-to-run: commit 98f779c914017c6fcf173a81c492a77aa9692dbb
@NewPaulWalker
Copy link
Contributor

Thank you for your issue. I found that this is due to a problem with the decoding of the vslide instruction in NEMU. Some vslide instructions had redundant and incorrect decoding, which I have now fixed by #770.

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 a pull request may close this issue.

2 participants