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

Use B extension in profiles, rather than Zba_Zbb_Zbs. #188

Merged
merged 3 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/profiles.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,13 @@ instructions in the mandatory A extension.

The following mandatory extensions are new for RVA22U64.

- *B* Bit-manipulation instructions.

NOTE: The B extension comprises the Zba, Zbb, and Zbs extensions.
At the time of RVA22U64's ratification, the B extension had not yet been
defined, and so RVA22U64 explicitly mandated Zba, Zbb, and Zbs instead.
Mandating B is equivalent.

- *Zihpm* Hardware performance counters.

NOTE: Zihpm was optional in RVA20U64.
Expand All @@ -736,10 +743,6 @@ should use the instruction whenever it would make sense and that
implementors are expected to exploit this information to optimize
hardware execution.

- *Zba* Address computation.
- *Zbb* Basic bit manipulation.
- *Zbs* Single-bit instructions.

- *Zic64b* Cache blocks must be 64 bytes in size, naturally aligned in the
address space.

Expand Down
5 changes: 2 additions & 3 deletions src/rva23-profile.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ The following mandatory extensions were present in RVA22U64.
- *F* Single-precision floating-point instructions.
- *D* Double-precision floating-point instructions.
- *C* Compressed instructions.
- *B* Bit-manipulation instructions.
- *Zicsr* CSR instructions. These are implied by presence of F.
- *Zicntr* Base counters and timers.
- *Zihpm* Hardware performance counters.
Expand All @@ -100,9 +101,6 @@ The following mandatory extensions were present in RVA22U64.
- *Za64rs* Reservation sets are contiguous, naturally aligned, and a
maximum of 64 bytes.
- *Zihintpause* Pause hint.
- *Zba* Address generation.
- *Zbb* Basic bit-manipulation.
- *Zbs* Single-bit instructions.
- *Zic64b* Cache blocks must be 64 bytes in size, naturally aligned in the
address space.
- *Zicbom* Cache-block management instructions.
Expand Down Expand Up @@ -391,6 +389,7 @@ of the https://github.com/riscv/riscv-isa-manual[RISC-V Instruction Set Manual].
- H Hypervisor Extension
- Q Extension for Quad-Precision Floating-Point
- C Extension for Compressed Instructions
- B Extension for Bit Manipulation
- V Extension for Vector Computation
- Zifencei Instruction-Fetch Fence Extension
- Zicsr Extension for Control and Status Register Access
Expand Down
5 changes: 2 additions & 3 deletions src/rvb23-profile.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ RVA22U64.
- *F* Single-precision floating-point instructions.
- *D* Double-precision floating-point instructions.
- *C* Compressed instructions.
- *B* Bit-manipulation instructions.
- *Zicsr* CSR instructions. These are implied by presence of F.
- *Zicntr* Base counters and timers.
- *Zihpm* Hardware performance counters.
Expand All @@ -108,9 +109,6 @@ RVA22U64.
- *Za64rs* Reservation sets are contiguous, naturally aligned, and a
maximum of 64 bytes.
- *Zihintpause* Pause hint.
- *Zba* Address generation.
- *Zbb* Basic bit-manipulation.
- *Zbs* Single-bit instructions.
- *Zic64b* Cache blocks must be 64 bytes in size, naturally aligned in the
address space.
- *Zicbom* Cache-block management instructions.
Expand Down Expand Up @@ -401,6 +399,7 @@ of the https://github.com/riscv/riscv-isa-manual[RISC-V Instruction Set Manual].
- H Hypervisor Extension
- Q Extension for Quad-Precision Floating-Point
- C Extension for Compressed Instructions
- B Extension for Bit Manipulation
- V Extension for Vector Computation
- Zifencei Instruction-Fetch Fence Extension
- Zicsr Extension for Control and Status Register Access
Expand Down
Loading