-
Notifications
You must be signed in to change notification settings - Fork 550
RISC-V: Extension Updates (including document references) #2002
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
Merged
ehuss
merged 5 commits into
rust-lang:master
from
a4lg:riscv-extension-ref-update-2025.1
Sep 29, 2025
Merged
RISC-V: Extension Updates (including document references) #2002
ehuss
merged 5 commits into
rust-lang:master
from
a4lg:riscv-extension-ref-update-2025.1
Sep 29, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The `Zb` extension does not exist and we instead have the `B` extension which is a superset of the three subextensions: `Zba`, `Zbb` and `Zbs`. For now (since `B` extension is not stabilized on Rust), this commit just removes `Zb`.
This is the latest ratified ISA Manual version and more importantly, some individual documents are merged into this. So, this commit consistently use this Manual (this version) where possible. Along with this, this commit substitutes link IDs from `rv-zb-*` to `rv-*` because `rv-zb-*` will look like the different document (bit-manipulation) is referenced.
rust-lang/rust#140139 changed the target feature implication without updating the Reference. That change is came from the fact that the Zbc extension is a functional superset of the Zbkc extension. This commit fixes this issue. Appendix - List of all Zbkc / Zbc instructions: * `clmul` (Zbkc / Zbc) * `clmulh` (Zbkc / Zbc) * `clmulr` (Zbc only)
d1fcd20
to
0752505
Compare
Amanieu
approved these changes
Sep 25, 2025
taiki-e
approved these changes
Sep 26, 2025
ehuss
approved these changes
Sep 29, 2025
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.
Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates documentation links and fixes minor issues:
zb
is removed (b
exists but not stabilized yet).zbkc
target feature is fixed.zbc
target feature is updated (reflects the behavior of rustc_target: Adjust RISC-V feature implication rust#140139).Note that this PR itself does not attempt to stabilize any of new extensions (target features) but makes the documentation more solid.