Skip to content

riscv: use CSR immediate instructions for set_csr!/clear_csr! field masks - #417

Merged
romancardenas merged 1 commit into
rust-embedded:masterfrom
XuanTongYao:feat/set-clear-csr-uimm
Sep 19, 2026
Merged

romancardenas merged 1 commit into
rust-embedded:masterfrom
XuanTongYao:feat/set-clear-csr-uimm

Conversation

@XuanTongYao

Copy link
Copy Markdown
Contributor

Related to #393

@XuanTongYao
XuanTongYao requested a review from a team as a code owner August 28, 2026 10:42
@romancardenas

Copy link
Copy Markdown
Contributor

Hi, @XuanTongYao ! Please make the required changes so CI passes. Then, I will review your changes.

@XuanTongYao

Copy link
Copy Markdown
Contributor Author

Hi @romancardenas ! I tried making it compatible with versions prior to 1.82.0

@romancardenas

Copy link
Copy Markdown
Contributor

Looks good to me, thank you!

Could you add a brief note on riscv/CHANGELOG.md to register your changes?

@XuanTongYao
XuanTongYao force-pushed the feat/set-clear-csr-uimm branch from efd2053 to 9819eb6 Compare September 18, 2026 06:09
@XuanTongYao

Copy link
Copy Markdown
Contributor Author

Got it!

I’ve added the changelog and rebased onto main.

@romancardenas

Copy link
Copy Markdown
Contributor

@XuanTongYao thanks!

Sorry for being picky, but could you squash your three commits into a single one, so the commit history is cleaner?

@XuanTongYao
XuanTongYao force-pushed the feat/set-clear-csr-uimm branch from 9819eb6 to 7b10e7f Compare September 18, 2026 07:17

@romancardenas romancardenas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@XuanTongYao

Copy link
Copy Markdown
Contributor Author

@romancardenas thanks.

A QEMU test was canceled for unknown reasons. Could you please restart it?

@romancardenas
romancardenas added this pull request to the merge queue Sep 19, 2026
Merged via the queue into rust-embedded:master with commit b3a70b7 Sep 19, 2026
184 of 185 checks passed
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