On Tue, Aug 8, 2023 at 7:10 PM Nikita Shubin wrote:
>
> From: Nikita Shubin
>
> As per ISA:
>
> "For CSRRWI, if rd=x0, then the instruction shall not read the CSR and
> shall not cause any of the side effects that might occur on a CSR read."
>
> trans_csrrwi() and trans_csrrw() call do_csrw() if
On Tue, Aug 8, 2023 at 7:10 PM Nikita Shubin wrote:
>
> From: Nikita Shubin
>
> As per ISA:
>
> "For CSRRWI, if rd=x0, then the instruction shall not read the CSR and
> shall not cause any of the side effects that might occur on a CSR read."
>
> trans_csrrwi() and trans_csrrw() call do_csrw() if