-
Notifications
You must be signed in to change notification settings - Fork 549
RISC-V Extensions update including 28 extensions to stabilize #1987
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
Open
a4lg
wants to merge
5
commits into
rust-lang:master
Choose a base branch
from
a4lg:riscv-extensions-2025.1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+85
−31
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
1ef6f06
to
c60bc59
Compare
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`. This commit fixes this issue and updates the reference URL to the source code of the latest ratified ISA Manual (version 20250508). To align with rust-lang/rust#145948, this commit performs rename, not removal.
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. This commit fixes this issue.
c60bc59
to
25d43f0
Compare
Because unstable "B" (incorrectly named as `zb`) was there, this commit adds 28 minus one ("B") new extensions to be stabilized. This commit directly corresponds to rust-lang/rust#145948. References: 1. RISC-V Instruction Set Manual (version 20250508): <https://github.com/riscv/riscv-isa-manual/tree/20250508> 2. RISC-V Profiles (version 1.0 - RVA23 is not stabilized at the time): <https://github.com/riscv/riscv-profiles/tree/v1.0> 3. RISC-V Profiles (RVA23/RVB23-ratified version): <https://github.com/riscv/riscv-profiles/tree/rva23-rvb23-ratified>
25d43f0
to
a35f1c8
Compare
Possible ConsiderationSome platform behavior extensions are hard to make a short, concise summary. Do we prefer to keep long(er than usual) descriptions? Or, do we just link to the RISC-V Profiles documentation and let it explain? My Current PositionI prefer the latter if allowed but mdbook design is confirmed not broken so the current approach (long descriptions) is okay for me. |
Ping. Can someone review this PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
S-waiting-on-review
Status: The marked PR is awaiting review from a maintainer
S-waiting-on-stabilization
Waiting for a stabilization PR to be merged in the main Rust repository
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 directly corresponds to rust-lang/rust#145948 but commit 2 through 4 fixes some minor issues outside the scope of that PR (still in this PR because we have to make the reference consistent).