Skip to content

riscv: Fix vector CSR state handling#26

Open
whensun wants to merge 1 commit into
antmicro:masterfrom
whensun:renode-903-riscv-conformance-fixes
Open

riscv: Fix vector CSR state handling#26
whensun wants to merge 1 commit into
antmicro:masterfrom
whensun:renode-903-riscv-conformance-fixes

Conversation

@whensun

@whensun whensun commented Jun 11, 2026

Copy link
Copy Markdown

This PR fixes RISC-V vector CSR state handling in tlib.

It addresses vector CSR masking, mirroring between vcsr, vxrm, and vxsat, vstart masking, and mstatus.VS handling for vector CSR access.

Related to renode/renode#903

@PiotrZierhoffer

Copy link
Copy Markdown
Member

Hi @whensun

Thank you for the contribution.

While we do appreciate the effort to make RISC-V implementation more conformant to the spec, this PR touches too many topics at once.

Can you please split it into smaller chunks, addressing specific issues? Otherwise it will be difficult to review

@whensun

whensun commented Jun 19, 2026

Copy link
Copy Markdown
Author

Thanks for the feedback. That makes sense.

I'll split this into smaller PRs grouped by specific issue areas

@whensun whensun force-pushed the renode-903-riscv-conformance-fixes branch from 028f1da to 64bdc75 Compare June 19, 2026 21:51
@whensun whensun changed the title riscv: Fix several conformance issues riscv: Fix vector CSR state handling Jun 19, 2026
@whensun

whensun commented Jun 19, 2026

Copy link
Copy Markdown
Author

I split the original changes into smaller PRs grouped by issue area:

Please let me know if this grouping works better for review.

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