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

riscv: make CSRRWI immediate mandatory #1431

Merged
merged 2 commits into from Aug 9, 2023
Merged

Conversation

nazavode
Copy link
Collaborator

@nazavode nazavode commented Aug 9, 2023

Immediate argument to riscv.csrrwi was marked as optional. Fixed by marking it as mandatory to abide by the ISA.

xdsl/dialects/riscv.py Outdated Show resolved Hide resolved
@superlopuh superlopuh added the backend Compiler backend in xDSL label Aug 9, 2023
@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (71d9cc5) 90.03% compared to head (fa74560) 90.03%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1431   +/-   ##
=======================================
  Coverage   90.03%   90.03%           
=======================================
  Files         214      214           
  Lines       26553    26553           
  Branches     3951     3951           
=======================================
  Hits        23906    23906           
  Misses       2018     2018           
  Partials      629      629           
Files Changed Coverage Δ
xdsl/dialects/riscv.py 86.34% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Co-authored-by: kingiler <68145845+kingiler@users.noreply.github.com>
@nazavode nazavode merged commit 41f605a into main Aug 9, 2023
10 checks passed
@nazavode nazavode deleted the nazavode/fix-riscv-csrrwi branch August 9, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Compiler backend in xDSL
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants