Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

to_string() layout for CSR instructions is not correct #7

Open
jerralph opened this issue Sep 20, 2018 · 0 comments
Open

to_string() layout for CSR instructions is not correct #7

jerralph opened this issue Sep 20, 2018 · 0 comments

Comments

@jerralph
Copy link
Owner

jerralph commented Sep 20, 2018

to_string() layout for CSR instructions is not correct. For 0xf1402573, currently displaying like this:
`CSRRS X10_A0, X0_ZERO, -236,
Where -236 is the CSR.

First CRS shouldn't be negative number. Secondly they should be looked up based on the number to get a pretty name, like cycle, time, etc. Last but not least the it should be csrrs rd, csr, rs1.

In general CSRs need some attention/development in riscv-vip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant