We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8835b7 commit 17d0df4Copy full SHA for 17d0df4
1 file changed
target/riscv/csr.c
@@ -5630,11 +5630,6 @@ static inline RISCVException riscv_csrrw_check(CPURISCVState *env,
5630
return RISCV_EXCP_ILLEGAL_INST;
5631
}
5632
5633
- /* ensure CSR is implemented by checking predicate */
5634
- if (!csr_ops[csrno].predicate) {
5635
- return RISCV_EXCP_ILLEGAL_INST;
5636
- }
5637
-
5638
/* privileged spec version check */
5639
if (env->priv_ver < csr_min_priv) {
5640
0 commit comments