aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2023-02-05 21:54:44 -0800
committerAndrew Waterman <andrew@sifive.com>2023-02-05 21:55:20 -0800
commit3485bbcda5509615e4d18708722d67871efb7eaf (patch)
tree6fd286ba7e1fe73d4788e1dc1dd5b85a5269cf12
parent24cba79065aa975ad91e92c5d59f2e1dafa5ab26 (diff)
downloadriscv-opcodes-3485bbcda5509615e4d18708722d67871efb7eaf.zip
riscv-opcodes-3485bbcda5509615e4d18708722d67871efb7eaf.tar.gz
riscv-opcodes-3485bbcda5509615e4d18708722d67871efb7eaf.tar.bz2
Revert "Removing import of csrrs and crrci in rv_zpn"
This reverts commit 2cf6da8f9a370ee5c0012d4ae4f403c3d920d1e8.
-rw-r--r--unratified/rv_zpn2
1 files changed, 2 insertions, 0 deletions
diff --git a/unratified/rv_zpn b/unratified/rv_zpn
index af26492..ef776e5 100644
--- a/unratified/rv_zpn
+++ b/unratified/rv_zpn
@@ -1,3 +1,5 @@
+$import rv_zicsr::csrrs
+$import rv_zicsr::csrrci
$pseudo_op rv_zicsr::csrrs rdov rd 19..15=0 31..20=0x009 14..12=2 6..2=0x1C 1..0=3
$pseudo_op rv_zicsr::csrrci clrov rd 19..15=1 31..20=0x009 14..12=7 6..2=0x1C 1..0=3
add16 31..25=0b0100000 rs2 rs1 14..12=0b000 rd 6..0=0b1110111