Skip to content

Commit

Permalink
Add Zicfilp codes (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
mylai-mtk authored Feb 3, 2024
1 parent eb90130 commit f51aa42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@
'mop_rr_7',
'sspush_x1',
'sspush_x5',
'lpad',
'bclri.rv32',
'bexti.rv32',
'binvi.rv32',
Expand Down
3 changes: 3 additions & 0 deletions encoding.h
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@
#define SRMCFG_RCID 0x00000FFF
#define SRMCFG_MCID 0x0FFF0000

/* software check exception xtval codes */
#define LANDING_PAD_FAULT 2

#ifdef __riscv

#if __riscv_xlen == 64
Expand Down
2 changes: 2 additions & 0 deletions unratified/rv_zicfilp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# auipc x0 imm20 -> lpad imm20
$pseudo_op rv_i::auipc lpad imm20 11..7=0 6..2=0x05 1..0=3

0 comments on commit f51aa42

Please sign in to comment.