-
Notifications
You must be signed in to change notification settings - Fork 79
fix: add missing sign_extend to imm fields of instructions beq, c.beqz and c.bnez (fixes #1265) #1266
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: main
Are you sure you want to change the base?
Conversation
…z and c.bnez (fixes riscv-software-src#1265) Signed-off-by: Hans Baier <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1266 +/- ##
=======================================
Coverage 46.05% 46.05%
=======================================
Files 11 11
Lines 4942 4942
Branches 1345 1345
=======================================
Hits 2276 2276
Misses 2666 2666
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Shouldn't It's disappointing there isn't a test which catches this already. riscv-tests doesn't test for this, apparently? The CI tests are failing. If you would: Then, commit and push the resulting changes. |
ThinkOpenly
left a comment
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.
Comments made previously (please make same changes for other branch instructions, update golden reference). Thanks!
…and bne (see riscv-software-src#1265) Signed-off-by: Hans Baier <[email protected]>
Signed-off-by: Hans Baier <[email protected]>
OK, added those mnemonics, which also had missing sign extensions and ran the chores. |
riscv-tests does check for this; the sign-extend attribute does not have any effect on the ISS, though. Instead, the sign extension occurs in |
No description provided.