Skip to content

Commit

Permalink
Add support for Zcmp extension
Browse files Browse the repository at this point in the history
  • Loading branch information
nadime15 committed Feb 12, 2025
1 parent 7614063 commit 8f59c33
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 0 deletions.
1 change: 1 addition & 0 deletions model/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ foreach (xlen IN ITEMS 32 64)
${vext_srcs}
"riscv_insts_zicbom.sail"
"riscv_insts_zicboz.sail"
"riscv_insts_zcmp.sail"
)

if (variant STREQUAL "rmem")
Expand Down
2 changes: 2 additions & 0 deletions model/riscv_extensions.sail
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ enum clause extension = Ext_Zcb
enum clause extension = Ext_Zcd
// Code Size Reduction: compressed single precision floating point loads and stores
enum clause extension = Ext_Zcf
// Code Size Reduction: compressed push/pop and double move instructions
enum clause extension = Ext_Zcmp

// Bit Manipulation: Address generation
enum clause extension = Ext_Zba
Expand Down
Loading

0 comments on commit 8f59c33

Please sign in to comment.