Skip to content

Commit

Permalink
Updated Zcmp extension user guide and specification document (#1930)
Browse files Browse the repository at this point in the history
  • Loading branch information
arshadrohan5 committed Mar 15, 2024
1 parent 987c645 commit b8ca858
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/01_cva6_user/Programmer_View.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ These extensions are available in CV32A60AX:
"RV32Zb* - Bit-Manipulation (Zba, Zbb, Zbc, Zbs)", "✔"
"RV32C - Compressed Instructions ", "✔"
"RV32Zcb - Code Size Reduction", "✔"
"RVZcmp - Code Size Reduction", ""
"RV32D - Double precision floating-point", ""
"RV32F - Single precision floating-point", ""
"RV32M - Integer Multiply/Divide", "✔"
Expand All @@ -98,6 +99,7 @@ These extensions are available in CV32A60X:
"RV32Zb* - Bit-Manipulation (Zba, Zbb, Zbc, Zbs)", "✔"
"RV32C - Compressed Instructions ", "✔"
"RV32Zcb - Code Size Reduction", "✔"
"RVZcmp - Code Size Reduction", "✔"
"RV32D - Double precision floating-point", ""
"RV32F - Single precision floating-point", ""
"RV32M - Integer Multiply/Divide", "✔"
Expand Down
3 changes: 1 addition & 2 deletions docs/01_cva6_user/RISCV_Instructions_RVZcmp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
:align: left
:header: "Configuration", "Implementation"

"CV32A60AX", "Implemented extension"
"CV32A60X", "Implemented extension"

**Note**: Zcmp is primarily targeted at embedded class CPUs due to implementation complexity. Additionally, it is not compatible with architecture class profiles.
Expand All @@ -35,7 +34,7 @@ RVZcmp Code Size Reduction Instructions

Zcmp belongs to group of extensions called RISC-V Code Size Reduction Extension (Zc*). Zc* has become the superset of Standard C extension adding more 16-bit instructions to the ISA.
Zcmp includes 16-bit macro instructions, PUSH/POP and double move, which reuse the encoding for c.fsdsp instruction.
All the Zcmp instructions require at least standard C extension support as pre-requisite, along with Zca extension.
All the Zcmp instructions require at least C extension support with Zcd extension disabled as pre-requisite.

- **CM.PUSH**: Compressed Push

Expand Down
1 change: 1 addition & 0 deletions docs/01_cva6_user/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ CVA6 User Manual
RV32A <RISCV_Instructions_RV32A>
RV32C <RISCV_Instructions_RV32C>
RV32Zcb <RISCV_Instructions_RV32ZCb>
RVZcmp <RISCV_Instructions_RVZcmp>
RVZba <RISCV_Instructions_RVZba>
RVZbb <RISCV_Instructions_RVZbb>
RVZbc <RISCV_Instructions_RVZbc>
Expand Down

0 comments on commit b8ca858

Please sign in to comment.